From: Christian Heller Date: Mon, 31 Mar 2025 08:50:11 +0000 (+0200) Subject: Fixes. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/%7B%7Bdb.prefix%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=d3e66dde3c919c2021d17ce5a0395730e56404b3;p=config Fixes. --- diff --git a/bookworm/scripts/lib/constants_repopaths b/bookworm/scripts/lib/constants_repopaths index 7746987..bc02038 100644 --- a/bookworm/scripts/lib/constants_repopaths +++ b/bookworm/scripts/lib/constants_repopaths @@ -1,3 +1,2 @@ PATH_SCRIPTS="$(dirname $(pwd))" -PATH_CONF="$(dirname ${SCRIPTS_DIR})" - +PATH_CONF="$(dirname ${PATH_DIR})" diff --git a/testing/scripts/setup_secrets.sh b/testing/scripts/setup_secrets.sh index 41e9f7b..d69ae8b 100755 --- a/testing/scripts/setup_secrets.sh +++ b/testing/scripts/setup_secrets.sh @@ -50,7 +50,7 @@ chown -R "${USERNAME}:${USERNAME}" "${PATH_SECRETS}" export BORG_PASSPHRASE="${PASSPHRASE}" PATH_TMP_REPO="$(path_tmp_timestamped configrepo)" -cp -a "${PATH_REPO}" "${PATH_TMP_REPO}" +cp -a "${PATH_REPO}" "${PATH_TMP_REPO}" chown -R "${USERNAME}:${USERNAME}" "${PATH_TMP_REPO}" su -l "${USERNAME}" --whitelist-environment=PATH_SECRETS,BORG_PASSPHRASE -c "/bin/sh ${PATH_TMP_REPO}/${PATH_REL_SETUP_SECRETS_USER}" rm -rf "${PATH_TMP_REPO}"