Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/pkgctl.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-10-22 15:49:57 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:12 +0200
commitf63d343e40f7f07c7a900cbb7445bbefa0997259 (patch)
tree377ac21460f150406c991fa393e77bc74c37bb29 /src/pkgctl.in
parentb5d5402e439f5edfd642fb4f680d596f5992e874 (diff)
config: implemented simple config module to store token and settings
Diffstat (limited to 'src/pkgctl.in')
-rw-r--r--src/pkgctl.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkgctl.in b/src/pkgctl.in
index 64d9bcd..35305c1 100644
--- a/src/pkgctl.in
+++ b/src/pkgctl.in
@@ -5,6 +5,8 @@
_DEVTOOLS_LIBRARY_DIR=${_DEVTOOLS_LIBRARY_DIR:-@pkgdatadir@}
# shellcheck source=src/lib/common.sh
source "${_DEVTOOLS_LIBRARY_DIR}"/lib/common.sh
+# shellcheck source=src/lib/config.sh
+source "${_DEVTOOLS_LIBRARY_DIR}"/lib/config.sh
set -e
@@ -32,6 +34,8 @@ fi
export _DEVTOOLS_COMMAND='pkgctl'
+load_devtools_config
+
# command checking
while (( $# )); do
case $1 in