From f100999276bb5719675d843ed85f780eefbcc249 Mon Sep 17 00:00:00 2001
From: Jan de Groot <jan@archlinux.org>
Date: Fri, 21 Nov 2008 10:49:58 -0500
Subject: Fix misc-scripts/ftpdir-cleanup pathing for /srv

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
---
 misc-scripts/ftpdir-cleanup | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'misc-scripts/ftpdir-cleanup')

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
-- 
cgit v1.2.3-2-g168b