diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-18 16:38:21 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-18 16:38:21 +0200 |
commit | b48b6b62b70fda2cc0318668eeda457c0f8d2123 (patch) | |
tree | f07900c546e2dee7413edffacbdd35295e18ca99 | |
parent | 683db123710ff9092ae99929fce232620932fdb0 (diff) | |
download | dbscripts-b48b6b62b70fda2cc0318668eeda457c0f8d2123.tar.gz dbscripts-b48b6b62b70fda2cc0318668eeda457c0f8d2123.tar.xz |
fix typo
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 0a43bd1..5c8776e 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -81,7 +81,7 @@ for repo in ${repos[@]}; do fi if [ -n "$(find "${FTP_BASE}/${repo}/os/any" -type d -empty)" ]; then msg "Removing empty legacy directory ${repo}/os/any" - ${CLEANUP_DRYRUN} && rmdir "${FTP_BASE}/${repo}/os/any" + ${CLEANUP_DRYRUN} || rmdir "${FTP_BASE}/${repo}/os/any" continue fi find "${FTP_BASE}/${repo}/os/any" -name "*${PKGEXT}" -printf '%f\n' | sort > "${WORKDIR}/any-${repo}" |