summaryrefslogtreecommitdiff
path: root/db-import-pkg-archlinux
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 02:17:15 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 02:17:15 -0400
commit1f7bbb22ced3495140810b9ec21d93ebb4c161f3 (patch)
tree0cd99522e270fb4b6be49ab7aa062e6d33def1c5 /db-import-pkg-archlinux
parentfdc37e5cf06d845a88971881a99de034a723c94a (diff)
begone with db-libremessages
Diffstat (limited to 'db-import-pkg-archlinux')
-rwxr-xr-xdb-import-pkg-archlinux7
1 files changed, 6 insertions, 1 deletions
diff --git a/db-import-pkg-archlinux b/db-import-pkg-archlinux
index 81221fd..d20d095 100755
--- a/db-import-pkg-archlinux
+++ b/db-import-pkg-archlinux
@@ -190,9 +190,14 @@ trap_exit() {
kill "-$signal" "$$"
}
+fatal_error() {
+ error "$@"
+ exit 1
+}
+
source "$(dirname "$(readlink -e "$0")")/config"
source "$(dirname "$(readlink -e "$0")")/db-import-pkg-archlinux.conf"
-source "$(dirname "$(readlink -e "$0")")/db-libremessages"
+source "$(librelib messages)"
# Check variables presence
for var in DBEXT FILESEXT mirror mirrorpath WORKDIR BLACKLIST_FILE FTP_BASE ARCHSRCPOOLS ARCHPKGPOOLS; do