summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions8
1 files changed, 8 insertions, 0 deletions
diff --git a/db-functions b/db-functions
index d0665b0..2fe7a49 100644
--- a/db-functions
+++ b/db-functions
@@ -161,6 +161,14 @@ get_repos_for_host() {
fi
}
+get_pkgpool_for_host() {
+ if [ "$(hostname)" = "sigurd" ]; then
+ echo "packages/community"
+ else
+ echo "packages/arch"
+ fi
+}
+
#usage: chk_license ${license[@]}"
chk_license() {
local l