summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-19 01:01:54 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-19 01:01:54 +0200
commit6666d28f019b1b7ea38f9bf1f4371a87d42fb927 (patch)
tree67784597057f2271515e3e9dec4074d03bfb62c1 /cron-jobs
parent37c975929d6a60b21ff9741329bc72e9523f376c (diff)
downloaddbscripts-6666d28f019b1b7ea38f9bf1f4371a87d42fb927.tar.gz
dbscripts-6666d28f019b1b7ea38f9bf1f4371a87d42fb927.tar.xz
More makepkg.conf removal - prefer toplevel config
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/createFileLists7
-rwxr-xr-xcron-jobs/sourceballs6
2 files changed, 0 insertions, 13 deletions
diff --git a/cron-jobs/createFileLists b/cron-jobs/createFileLists
index 2e42e56..610f0e1 100755
--- a/cron-jobs/createFileLists
+++ b/cron-jobs/createFileLists
@@ -7,13 +7,6 @@ DB_COMPRESSION="gz"
. $(dirname $0)/../config
-if [ -f /etc/makepkg.conf ]; then
- . /etc/makepkg.conf
-else
- echo "Error: /etc/makepkg.conf does not exist."
- exit 1
-fi
-
if [ -f "/tmp/createFileList.lock" ]; then
echo "Error: createFileList allready in progress."
exit 1
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 27976ca..a34ae2d 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -8,12 +8,6 @@ repos="core extra testing community"
LOCKFILE="/tmp/.sourceball.lock"
-if [ ! -f /etc/makepkg.conf ]; then
- echo "/etc/makepkg.conf not found! Aborting"
- exit 1
-fi
-
-. /etc/makepkg.conf
cleanup () {
rm -f "$LOCKFILE"
exit 0