From f1e779055f4e73b701d3da54321d9459f0f6e46a Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 18 Sep 2009 10:29:50 -0700 Subject: Remove '$arch' from file loop This allows us to still remove older, non architecture prefixed packages Signed-off-by: Aaron Griffin --- misc-scripts/ftpdir-cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc-scripts') diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup index 236dc35..68af271 100755 --- a/misc-scripts/ftpdir-cleanup +++ b/misc-scripts/ftpdir-cleanup @@ -82,7 +82,7 @@ for arch in ${ARCHES[@]}; do done cd "$ftppath" - for pkg in *$arch$PKGEXT; do + for pkg in *$PKGEXT; do if [ ! -e "$pkg" ]; then continue fi -- cgit v1.2.3-24-g4f1b