summaryrefslogtreecommitdiffstats
path: root/misc-scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-09-18 19:29:50 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-09-18 19:29:50 +0200
commitf1e779055f4e73b701d3da54321d9459f0f6e46a (patch)
tree6f66815da3c5744d81eb6cf77585d52b71166c76 /misc-scripts
parent0e93595fc9313f02a0b9e07d70835b8dffd251ab (diff)
downloaddbscripts-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>
Diffstat (limited to 'misc-scripts')
-rwxr-xr-xmisc-scripts/ftpdir-cleanup2
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