diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-09-18 19:29:50 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-09-18 19:29:50 +0200 |
commit | f1e779055f4e73b701d3da54321d9459f0f6e46a (patch) | |
tree | 6f66815da3c5744d81eb6cf77585d52b71166c76 | |
parent | 0e93595fc9313f02a0b9e07d70835b8dffd251ab (diff) | |
download | dbscripts-f1e779055f4e73b701d3da54321d9459f0f6e46a.tar.gz dbscripts-f1e779055f4e73b701d3da54321d9459f0f6e46a.tar.xz |
Remove '$arch' from file loop
This allows us to still remove older, non architecture
prefixed packages
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | misc-scripts/ftpdir-cleanup | 2 |
1 files changed, 1 insertions, 1 deletions
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 |