summaryrefslogtreecommitdiff
path: root/cron-jobs
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/adjust-permissions4
-rwxr-xr-xcron-jobs/createFileLists2
-rwxr-xr-xcron-jobs/sourceballs4
3 files changed, 5 insertions, 5 deletions
diff --git a/cron-jobs/adjust-permissions b/cron-jobs/adjust-permissions
index 1493f4b..307c319 100755
--- a/cron-jobs/adjust-permissions
+++ b/cron-jobs/adjust-permissions
@@ -9,7 +9,7 @@ fi
#adjust the nice level to run at a lower priority
/usr/bin/renice +10 -p $$ > /dev/null
-cd /home/ftp
+cd /srv/ftp
/bin/chown -R ftp:ftp-arch core/os/i686
/bin/chown -R ftp:ftp-arch core/os/x86_64
/bin/chown -R ftp:ftp-extra {extra,testing}/os/i686
@@ -20,6 +20,6 @@ for d in core extra testing community; do
/bin/chmod -R g+w $d/os/i686
/bin/chmod -R g+w $d/os/x86_64
done
-/bin/chmod 555 /home/ftp
+/bin/chmod 555 /srv/ftp
rm -f /tmp/.ftpmaint.lck
diff --git a/cron-jobs/createFileLists b/cron-jobs/createFileLists
index 044b6d7..9ce108c 100755
--- a/cron-jobs/createFileLists
+++ b/cron-jobs/createFileLists
@@ -1,6 +1,6 @@
#!/bin/bash
-reposdir=/home/ftp/
+reposdir=/srv/ftp/
#targetdir=/home/pierre/public_html/test-repo/
targetdir=$reposdir
repos="core extra unstable testing community"
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index fc313e3..00ca5e3 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -1,7 +1,7 @@
#!/bin/bash
-ftpbase="/home/ftp"
-srcbase="/home/ftp/sources"
+ftpbase="/srv/ftp"
+srcbase="/srv/ftp/sources"
repos="core extra testing"
arches="i686 x86_64"