summaryrefslogtreecommitdiffstats
path: root/misc-scripts
diff options
context:
space:
mode:
authorJan de Groot <jan@archlinux.org>2008-11-21 16:49:58 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 16:49:58 +0100
commitf100999276bb5719675d843ed85f780eefbcc249 (patch)
tree445dfa83cdaeeac1ea3ee5f092ab6f0963910b9f /misc-scripts
parenteada2876aa5860edc17949154a505b8a431b1b83 (diff)
downloaddbscripts-f100999276bb5719675d843ed85f780eefbcc249.tar.gz
dbscripts-f100999276bb5719675d843ed85f780eefbcc249.tar.xz
Fix misc-scripts/ftpdir-cleanup pathing for /srv
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'misc-scripts')
-rwxr-xr-xmisc-scripts/ftpdir-cleanup10
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