summaryrefslogtreecommitdiff
path: root/lbu.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-07-12 13:10:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-07-12 13:41:02 +0200
commitc3001d97bcac3b023b3f9948c1b8e3a1cb52f6a8 (patch)
treeda237d92b448a78a3aa76302a957710bdc0a62cf /lbu.in
parent19c0a828f54f3dcf2b9a6e8a3bf4c3f46b16f72a (diff)
downloadalpine-conf-c3001d97bcac3b023b3f9948c1b8e3a1cb52f6a8.zip
lbu: add tests for lbu package
with and without encryption. This also tests if sysconfdir is actually set ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/77#note_246788
Diffstat (limited to 'lbu.in')
-rw-r--r--lbu.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/lbu.in b/lbu.in
index 1990866..ea69835 100644
--- a/lbu.in
+++ b/lbu.in
@@ -18,9 +18,9 @@ LBU_LIST="${ROOT}etc/apk/protected_paths.d/lbu.list"
DEFAULT_CIPHER="aes-256-cbc"
-LBU_CONF="$sysconfdir"/lbu.conf
-LBU_PREPACKAGE="$sysconfdir"/pre-package.d
-LBU_POSTPACKAGE="$sysconfdir"/post-package.d
+LBU_CONF="${ROOT}$sysconfdir"/lbu.conf
+LBU_PREPACKAGE="${ROOT}$sysconfdir"/pre-package.d
+LBU_POSTPACKAGE="${ROOT}$sysconfdir"/post-package.d
if [ -f "$LBU_CONF" ]; then
. "$LBU_CONF"