Keep only 4 latest versions of each package SA-588
[git-tools-moved-to-github.git] / update-archive / update-archive.sh
index 58dc46f..24e6ce6 100755 (executable)
@@ -72,7 +72,7 @@ if test "$UBUNTU_DIST"; then
 fi
 
 # All distributions we know of
-ALLD="ubuntu/lucid ubuntu/natty ubuntu/oneiric ubuntu/precise ubuntu/quantal ubuntu/raring debian/jessie debian/wheezy debian/squeeze debian/lenny"
+ALLD="ubuntu/lucid ubuntu/natty ubuntu/oneiric ubuntu/precise ubuntu/quantal ubuntu/raring ubuntu/saucy debian/jessie debian/wheezy debian/squeeze debian/lenny"
 
 if test -z "$DISTRIBUTIONS"; then
        DISTRIBUTIONS=$ALLD
@@ -151,7 +151,9 @@ for vdist in $DISTRIBUTIONS ; do
                                fi
                        fi
                done
-               # ${confdir}/symclean.sh $d
+               for arch in $architectures; do
+                       ${confdir}/symclean.sh $d/${arch}
+               done
 
                rm -f $d/Release
                if $has_packages; then