diff options
Diffstat (limited to 'cron-jobs')
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 4 | ||||
-rwxr-xr-x | cron-jobs/integrity-check | 4 | ||||
-rwxr-xr-x | cron-jobs/make_repo_torrents | 2 | ||||
-rwxr-xr-x | cron-jobs/repo-sanity-check | 4 | ||||
-rwxr-xr-x | cron-jobs/sourceballs | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 2b32eae..6125829 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -1,7 +1,7 @@ #!/bin/bash -. "$(dirname "$(readlink -e "$0")")/../config" -. "$(dirname "$(readlink -e "$0")")/../db-functions" +source "$(dirname "$(readlink -e "$0")")/../dbscripts.cfg" +source "$(dirname "$(readlink -e "$0")")/../share/db-functions" clean_pkg() { local pkg diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check index 7896f32..cb01fc6 100755 --- a/cron-jobs/integrity-check +++ b/cron-jobs/integrity-check @@ -2,8 +2,8 @@ dirname="$(dirname "$(readlink -e "$0")")" -. "${dirname}/../config" -. "${dirname}/../db-functions" +source "${dirname}/../dbscripts.cfg" +source "${dirname}/../share/db-functions" script_lock diff --git a/cron-jobs/make_repo_torrents b/cron-jobs/make_repo_torrents index bb59d2f..9b6c930 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")")/.." -. "$(dirname "$(readlink -e "$0")")/../config" +source "$(dirname "$(readlink -e "$0")")/../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 203a740..1e796cd 100755 --- a/cron-jobs/repo-sanity-check +++ b/cron-jobs/repo-sanity-check @@ -4,8 +4,8 @@ # repo", I don't know how the body of the issue is stored in the DB, # but the title says enough, I think. -. "$(dirname "$(readlink -e "$0")")/../config" -. "$(dirname "$(readlink -e "$0")")/../db-functions" +source "$(dirname "$(readlink -e "$0")")/../dbscripts.cfg" +source "$(dirname "$(readlink -e "$0")")/../share/db-functions" # Traverse all repos for _repo in "${PKGREPOS[@]}"; do diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 53ffff9..8fa27a6 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -1,8 +1,8 @@ #!/bin/bash dirname="$(dirname "$(readlink -e "$0")")" -. "${dirname}/../config" -. "${dirname}/../db-functions" +source "${dirname}/../dbscripts.cfg" +source "${dirname}/../share/db-functions" pushd "${work_directory}" >/dev/null script_lock |