diff options
-rwxr-xr-x | misc-scripts/ftpdir-cleanup | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup index e44dd92..2b91035 100755 --- a/misc-scripts/ftpdir-cleanup +++ b/misc-scripts/ftpdir-cleanup @@ -9,7 +9,7 @@ reponame=$1 arch=$2 ##### Arch specific stuff. TODO make this configurable ##### -ftppath="/home/ftp/$reponame/os/$arch/" +ftppath="/srv/ftp/$reponame/os/$arch/" ############################################################ if [ ! -d "$ftppath" ]; then @@ -90,7 +90,7 @@ echo "Scan complete for $reponame ($arch) at ${ftppath}" if [ -n "$DELETEFILES" ]; then echo " The following files are out of date" - echo " They will be moved to /home/package-cleanup" + echo " They will be moved to /srv/package-cleanup" for f in $DELETEFILES; do echo " $f" done @@ -107,18 +107,18 @@ fi if [ -n "$EXTRAFILES" ]; then echo " The following files are in the repo but not the db" - echo " They will be moved to /home/package-cleanup" + echo " They will be moved to /srv/package-cleanup" for f in $EXTRAFILES; do echo " $f" done fi if [ -n "${DELETEFILES}" ]; then - mv ${DELETEFILES} /home/package-cleanup/ + mv ${DELETEFILES} /srv/package-cleanup/ echo "" fi if [ -n "${EXTRAFILES}" ]; then - mv ${EXTRAFILES} /home/package-cleanup/ + mv ${EXTRAFILES} /srv/package-cleanup/ echo "" fi |