From: Christian Heller Date: Wed, 26 Mar 2025 03:46:48 +0000 (+0100) Subject: Fixes. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/process_titles?a=commitdiff_plain;h=1f892e74d1b4bb6cee860f529a5cfd632c5aad1b;p=config Fixes. --- diff --git a/testing/scripts/setup_desktop.sh b/testing/scripts/setup_desktop.sh index 9834ceb..36e39c4 100755 --- a/testing/scripts/setup_desktop.sh +++ b/testing/scripts/setup_desktop.sh @@ -41,7 +41,7 @@ copy_dirtree() { PATH_SOURCE=$(realpath "${PATH_REL}") DIRECTORY=$(dirname "${PATH_TARGET}") mkdir -p "${DIRECTORY}" - cp "${PATH_SOURCE}" "${PATH_TARGET}" + cp -L "${PATH_SOURCE}" "${PATH_TARGET}" done cd - done diff --git a/testing/scripts/setup_secrets.sh b/testing/scripts/setup_secrets.sh index f417788..eb2c1b3 100755 --- a/testing/scripts/setup_secrets.sh +++ b/testing/scripts/setup_secrets.sh @@ -48,7 +48,7 @@ chown -R "${USERNAME}:${USERNAME}" "${PATH_SECRETS}" export BORG_PASSPHRASE="${PASSPHRASE}" PATH_TMP_SCRIPTS="$(path_tmp_timestamped configscripts)" mkdir "${PATH_TMP_SCRIPTS}" -cp -a ./* "${PATH_TMP_SCRIPTS}/" +cp -aL ./* "${PATH_TMP_SCRIPTS}/" chown -R "${USERNAME}:${USERNAME}" "${PATH_TMP_SCRIPTS}" su -l "${USERNAME}" --whitelist-environment=PATH_SECRETS,BORG_PASSPHRASE -c "/bin/sh ${PATH_TMP_SCRIPTS}/_setup_secrets_user.sh" rm -rf "${PATH_TMP_SCRIPTS}"