From 54aa094507b9c2374c83493981891cca7085bc04 Mon Sep 17 00:00:00 2001 From: helixarch Date: Thu, 12 Mar 2015 09:39:54 +0200 Subject: [PATCH] Update --- debtap | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/debtap b/debtap index 8946a7c..31f097a 100755 --- a/debtap +++ b/debtap @@ -3047,15 +3047,11 @@ if [ -e new-untranslated-names-only ]; then fi # Appending untranslated packages names (if any exist) to the translated packages names list -if [ -e new-untranslated ]; then - if [ $(cat new-untranslated | wc -l) -eq 0 ]; then - rm -rf new-untranslated - else - tac new-untranslated | sed s'/=/= /g' | sed s'/>/> /g' | sed s'/ =/>=/g' | sed s'/< =/<=/g' >> final-check-list - gawk '{print $1}' new-untranslated | sort -u > $(echo `ls | grep initial-check-list` | sed s'/initial-check-list/untranslated-names-only/') - rm -rf new-untranslated - fi +if [ -e new-untranslated ] && [ $(cat new-untranslated | wc -l) -ne 0 ]; then + tac new-untranslated | sed s'/=/= /g' | sed s'/>/> /g' | sed s'/ =/>=/g' | sed s'/< =/<=/g' >> final-check-list + gawk '{print $1}' new-untranslated | sort -u > $(echo `ls | grep initial-check-list` | sed s'/initial-check-list/untranslated-names-only/') fi +rm -rf new-untranslated # Sorting packages with missing files (if any exist) if [ -e missing-files ]; then