summaryrefslogtreecommitdiff
path: root/cron-jobs
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/ftpdir-cleanup2
-rwxr-xr-xcron-jobs/integrity-check2
-rwxr-xr-xcron-jobs/make_repo_torrents2
-rwxr-xr-xcron-jobs/repo-sanity-check2
-rwxr-xr-xcron-jobs/sourceballs2
5 files changed, 5 insertions, 5 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
index 6125829..fcf6879 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -1,6 +1,6 @@
#!/bin/bash
-source "$(dirname "$(readlink -e "$0")")/../dbscripts.cfg"
+source "$(dirname "$(readlink -e "$0")")/../etc/dbscripts.cfg"
source "$(dirname "$(readlink -e "$0")")/../share/db-functions"
clean_pkg() {
diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check
index cb01fc6..b5e2de4 100755
--- a/cron-jobs/integrity-check
+++ b/cron-jobs/integrity-check
@@ -2,7 +2,7 @@
dirname="$(dirname "$(readlink -e "$0")")"
-source "${dirname}/../dbscripts.cfg"
+source "${dirname}/../etc/dbscripts.cfg"
source "${dirname}/../share/db-functions"
script_lock
diff --git a/cron-jobs/make_repo_torrents b/cron-jobs/make_repo_torrents
index 9b6c930..5f89db7 100755
--- a/cron-jobs/make_repo_torrents
+++ b/cron-jobs/make_repo_torrents
@@ -33,7 +33,7 @@ esac
# pacman doesn't support multiple different packages of the same name,
# so it's OK to just stuff all the torrents into a single directory.
script_directory="$(dirname "$(readlink -e "$0")")/.."
-source "$(dirname "$(readlink -e "$0")")/../dbscripts.cfg"
+source "$(dirname "$(readlink -e "$0")")/../etc/dbscripts.cfg"
public_location="${root_dir}/"
torrent_location="${root_dir}/torrents/"
diff --git a/cron-jobs/repo-sanity-check b/cron-jobs/repo-sanity-check
index 1e796cd..f98e8fa 100755
--- a/cron-jobs/repo-sanity-check
+++ b/cron-jobs/repo-sanity-check
@@ -4,7 +4,7 @@
# repo", I don't know how the body of the issue is stored in the DB,
# but the title says enough, I think.
-source "$(dirname "$(readlink -e "$0")")/../dbscripts.cfg"
+source "$(dirname "$(readlink -e "$0")")/../etc/dbscripts.cfg"
source "$(dirname "$(readlink -e "$0")")/../share/db-functions"
# Traverse all repos
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 8fa27a6..efa9523 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -1,7 +1,7 @@
#!/bin/bash
dirname="$(dirname "$(readlink -e "$0")")"
-source "${dirname}/../dbscripts.cfg"
+source "${dirname}/../etc/dbscripts.cfg"
source "${dirname}/../share/db-functions"
pushd "${work_directory}" >/dev/null