[Collab-qa-commits] r2145 - udd/scripts

Andreas Tille tille at alioth.debian.org
Sun Feb 12 16:46:01 UTC 2012


Author: tille
Date: 2012-02-12 16:46:00 +0000 (Sun, 12 Feb 2012)
New Revision: 2145

Modified:
   udd/scripts/fetch_ddtp_translations.sh
Log:
No need to backup previous hashes which will be stored in database table


Modified: udd/scripts/fetch_ddtp_translations.sh
===================================================================
--- udd/scripts/fetch_ddtp_translations.sh	2012-02-11 21:58:15 UTC (rev 2144)
+++ udd/scripts/fetch_ddtp_translations.sh	2012-02-12 16:46:00 UTC (rev 2145)
@@ -13,10 +13,6 @@
     # rel=`echo $index | sed "s?$MIRROR/*\([^/]\+\)/.*?\1?"`
     targetfile="${TARGETPATH}/${indexdir}"
     mkdir -p `dirname $targetfile`
-    # create backup of previous index file
-    if [ -f "$targetfile" ] ; then
-	mv "$targetfile" "$targetfile".prev
-    fi
     index=${MIRROR}/$indexdir/i18n/Index
     if [ -f $index ] ; then
 	grep "\.bz2" $index | sed -e 's/^ //' -e 's/ \+/ /g' > $targetfile




More information about the Collab-qa-commits mailing list