home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 26 Aug 2025 04:35:57 +0000 (06:35 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 26 Aug 2025 04:35:57 +0000 (06:35 +0200)
26 files changed:
testing/scripts/lib/constants_seedbox.sh
testing/scripts/lib/expected_rtorrent_files.sh
testing/scripts/lib/for_line_in.sh
trixie/copy/desktop/home/plom/.local/bin/setup_apps [new file with mode: 0644]
trixie/copy/desktop/home/plom/.plomlib/abort_if_exists.sh [changed from symlink to file mode: 0644]
trixie/copy/desktop/home/plom/.plomlib/abort_if_not_user.sh [new symlink]
trixie/copy/desktop/home/plom/.plomlib/constants_borg.sh [changed from symlink to file mode: 0644]
trixie/copy/desktop/home/plom/.plomlib/copy_and_unmount_secrets.sh [changed from symlink to file mode: 0644]
trixie/copy/desktop/home/plom/.plomlib/mount_secrets.sh [changed from symlink to file mode: 0644]
trixie/copy/desktop/home/plom/.plomlib/retry_until.sh [changed from symlink to file mode: 0644]
trixie/preseed.cfg
trixie/scripts/_setup_secrets_user.sh [deleted file]
trixie/scripts/lib/abort_if_exists.sh [deleted file]
trixie/scripts/lib/check_finished_marker.sh [deleted symlink]
trixie/scripts/lib/constants_borg.sh [deleted file]
trixie/scripts/lib/constants_finished.sh [deleted symlink]
trixie/scripts/lib/constants_seedbox.sh [deleted symlink]
trixie/scripts/lib/copy_and_unmount_secrets.sh [deleted file]
trixie/scripts/lib/expected_rtorrent_files.sh [deleted symlink]
trixie/scripts/lib/for_line_in.sh [deleted symlink]
trixie/scripts/lib/install_tags.sh [deleted symlink]
trixie/scripts/lib/mount_secrets.sh [deleted file]
trixie/scripts/lib/put_finished_marker.sh [deleted symlink]
trixie/scripts/lib/retry_until.sh [deleted file]
trixie/scripts/setup_desktop.sh
trixie/scripts/setup_secrets.sh [deleted file]

index ef75dd5dc1f81db6438aadac5538366a98cee682..cd8978356c9668caac76c6f733782f7abb12d471 120000 (symlink)
@@ -1 +1 @@
-../../../trixie/scripts/lib/constants_seedbox.sh
\ No newline at end of file
+../../../bookworm/scripts/lib/constants_seedbox.sh
\ No newline at end of file
index b05902d3b69e0c3375d3e7f87d5c761f2d16849c..3b830e93016d082a40d739fc1beb502db94c2e38 120000 (symlink)
@@ -1 +1 @@
-../../../trixie/scripts/lib/expected_rtorrent_files.sh
\ No newline at end of file
+../../../bookworm/scripts/lib/expected_rtorrent_files.sh
\ No newline at end of file
index 7f7c100a1c010e94359c867876102b2c50da56ea..08d509443e18f61c4fe3c5405380e5e0e2cb9cd1 120000 (symlink)
@@ -1 +1 @@
-../../../trixie/scripts/lib/for_line_in.sh
\ No newline at end of file
+../../../bookworm/scripts/lib/for_line_in.sh
\ No newline at end of file
diff --git a/trixie/copy/desktop/home/plom/.local/bin/setup_apps b/trixie/copy/desktop/home/plom/.local/bin/setup_apps
new file mode 100644 (file)
index 0000000..b44c3dc
--- /dev/null
@@ -0,0 +1,33 @@
+#!/usr/bin/env dash
+set -e
+ROOT=$(dirname "$0")
+cd "${ROOT}"
+. lib/abort_if_not_user.sh
+. lib/abort_if_offline.sh
+
+abort_if_offline
+abort_if_not_user root
+
+TEMP_DIR=$(mktemp)
+cd "${TEMP_DIR}"
+
+MM_REPO_URL="https://deb.packages.mattermost.com"
+MM_REPO_KEY_URL="https://deb.packages.mattermost.com/pubkey.gpg"
+MM_REPO_KEY_FILENAME=mattermost.gpg
+MM_REPO_KEY_PATH="/etc/apt/trusted.gpg.d/${MM_REPO_KEY_FILENAME}"
+curl -sSL ${MM_REPO_KEY_URL} | gpg --dearmor > "${MM_REPO_KEY_FILENAME}"
+mv "${MM_REPO_KEY_FILENAME}" "${MM_REPO_KEY_PATH}"
+DEB_RELEASE=stable
+MM_REPO_LIST_FILENAME="mattermost_${RELEASE}.list"
+MM_REPO_LIST_PATH="/etc/apt/sources.list.d/${MM_REPO_LIST_FILENAME}"
+echo "deb ${MM_REPO_URL} ${DEB_RELEASE} main" > "${MM_REPO_LIST_FILENAME}"
+mv "${MM_REPO_LIST_FILENAME}" "${MM_REPO_LIST_PATH}"
+apt update
+apt install mattermost-desktop
+
+cd -
+rmdir "${TEMP_DIR}"
deleted file mode 120000 (symlink)
index 038c42c4002f98dc3d388cdf8c9e456004083647..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../scripts/lib/abort_if_exists.sh
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..21e1eeeb9e30ca96e104c8e8c3c4fbd7722c46e5
--- /dev/null
@@ -0,0 +1,7 @@
+. lib/abort.sh
+
+abort_if_exists() {
+    if [ -e "$1" ]; then
+        abort "Aborting since $1 already exists."
+    fi
+}
diff --git a/trixie/copy/desktop/home/plom/.plomlib/abort_if_not_user.sh b/trixie/copy/desktop/home/plom/.plomlib/abort_if_not_user.sh
new file mode 120000 (symlink)
index 0000000..2c36fd7
--- /dev/null
@@ -0,0 +1 @@
+../../../../../scripts/lib/abort_if_not_user.sh
\ No newline at end of file
deleted file mode 120000 (symlink)
index 72e11886403e147dcac059dde627acbff808a144..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../scripts/lib/constants_borg.sh
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..befcb4a65b389f1615ed6f522f2d0aab23242810
--- /dev/null
@@ -0,0 +1,2 @@
+NAME_BORGAPP=borgplom
+PATH_BORG_CONF="${HOME}/.config/borg"
deleted file mode 120000 (symlink)
index 22162a6bc09c001680675bf6e41be6f3ec5983ee..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../scripts/lib/copy_and_unmount_secrets.sh
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..6a29ebe4dd2d005460798efd0e2626886c24b34d
--- /dev/null
@@ -0,0 +1,18 @@
+. lib/constants_secrets.sh # PATH_REL_SECRETS, PATH_SECRETS
+
+copy_and_unmount_secrets() {
+prefixed_msg_init copy_and_unmount_secrets
+
+prefixed_msg "Copying over ${PATH_REL_SECRETS}."
+if [ "$1" = "out" ]; then
+    cp -a "${PATH_SECRETS}" "${PATH_MOUNTED_SECRETS}"
+elif [ "$1" = "in" ]; then
+    cp -a "${PATH_MOUNTED_SECRETS}" "${PATH_SECRETS}"
+else
+    abort "Illegal argument to unmount_secrets."
+fi
+pumount "${SECRETS_DEV}"
+prefixed_msg "You can remove device ${SECRETS_DEV} now."
+
+prefixed_msg_exit
+}
deleted file mode 120000 (symlink)
index 5cff252bc04c0f649f5ce00b391775d62fd91761..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../scripts/lib/mount_secrets.sh
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..679d4c21d44a3a44118c0084f1e61d01f1c175dc
--- /dev/null
@@ -0,0 +1,29 @@
+. lib/constants_secrets.sh  # PATH_MEDIA, PATH_REL_SECRETS
+. lib/expect_n_args.sh
+. lib/get_passphrase.sh
+. lib/path_tmp_timestamped.sh
+. lib/prefixed_msg.sh
+. lib/retry_until.sh
+
+mount_secrets() {
+prefixed_msg_init mount_secrets
+
+SECRETS_DEV=$1
+if [ -z "${SECRETS_DEV}" ]; then
+    abort "Aborting due to empty device argument."
+fi
+PATH_MOUNTED_SECRETS="${PATH_MEDIA}/${SECRETS_DEV}/${PATH_REL_SECRETS}"
+PATH_DEV="/dev/${SECRETS_DEV}"
+PATH_PMOUNT_ERR="$(path_tmp_timestamped 'err_mount')"
+prefixed_msg "Put secrets drive into slot for ${PATH_DEV}."
+while [ ! -e "${PATH_DEV}" ]; do
+    sleep 0.1
+done
+_ON_LOOP_START='prefixed_msg_no_nl "Passphrase: "; PASSPHRASE=$(get_passphrase); echo ""'
+_TO_TEST='echo "${PASSPHRASE}" | pmount "${PATH_DEV}" 2>&1'
+_ON_FAIL='prefixed_msg "Aborting due to pmount error:"'
+retry_until 100 "${_ON_LOOP_START}" "${_TO_TEST}" "${_ON_FAIL}"
+prefixed_msg "${_OUTPUT}"
+
+prefixed_msg_exit
+}
deleted file mode 120000 (symlink)
index ba7347200fee1dd114b180a9031a5bf985a608fd..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../scripts/lib/retry_until.sh
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..5179ba157f4e2c6dcb5399829749789ed15ae94e
--- /dev/null
@@ -0,0 +1,27 @@
+retry_until() {
+    _CODE_FOR_CONTINUE="$1"
+    _ON_LOOP_START="$2"
+    _TO_TEST="$3"
+    _ON_FAIL="$4"
+    _ON_LOOP_END="$5"
+    _OUTPUT_MODE="$6"
+    while true; do
+        eval "${_ON_LOOP_START}"
+        set +e
+        if [ "${_OUTPUT_MODE}" = 'direct' ]; then
+            eval ${_TO_TEST}
+            _RESULT=$?
+        else
+            _OUTPUT="$(eval ${_TO_TEST})"
+            _RESULT=$?
+        fi
+        set -e
+        if [ "${_RESULT}" = '0' ]; then
+            break
+        elif [ "${_RESULT}" != "${_CODE_FOR_CONTINUE}" ]; then
+            eval "${_ON_FAIL}"
+            abort
+        fi
+        eval "${_ON_LOOP_END}"
+    done
+}
index f03896b655b63e6a4dbbc4190d16595eeab08c9b..bcd1ae639fce444cfabd5561e6d63d68685b1dee 100644 (file)
@@ -168,4 +168,4 @@ d-i finish-install/reboot_in_progress note
 
 # config script
 d-i pkgsel/include string git,ca-certificates
-d-i preseed/late_command string apt-install git vim ack && in-target git clone https://plomlompom.com/repos/clone/config /root/config && echo -e '#!/usr/bin/env dash\nset -e\nif [ -z "$1" ]; then\n    echo "need user password as argument"\n    exit 1\nfi\nconfig/trixie/scripts/setup_desktop.sh t490s "$1"\nconfig/trixie/scripts/setup_secrets.sh sda' > /target/root/run.sh && chmod a+x /target/root/run.sh
+d-i preseed/late_command string apt-install git vim ack && in-target git clone https://plomlompom.com/repos/clone/config /root/config && echo -e '#!/usr/bin/env dash\nset -e\nif [ -z "$1" ]; then\n    echo "need user password as argument"\n    exit 1\nfi\nconfig/trixie/scripts/setup_desktop.sh t490s "$1"' > /target/root/run.sh && chmod a+x /target/root/run.sh
diff --git a/trixie/scripts/_setup_secrets_user.sh b/trixie/scripts/_setup_secrets_user.sh
deleted file mode 100644 (file)
index fc95d2d..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-set -e
-cd $(dirname "$0")
-. lib/abort.sh
-# . lib/abort_if_exists
-. lib/abort_if_not_user.sh
-. lib/abort_if_offline.sh
-# . lib/constants_secrets  # PATH_SECRETS, PATH_SECRETS_KDBX, PATH_SECRETS_SSH, PATH_SECRETS_BORGKEYS, PATH_USER_KDBX
-. lib/constants_ssh.sh  # PATH_USER_SSH
-. lib/constants_user.sh  # USERNAME
-# . lib/constants_borg  # NAME_BORGAPP
-# . lib/copy_and_unmount_secrets
-. lib/expect_n_args.sh
-# . lib/mount_secrets
-. lib/prefixed_msg.sh
-# . lib/retry_until
-. lib/trapp.sh
-
-prefixed_msg_init
-PATH_REPOS="${HOME}/repos"
-REPOS_SITE_DOMAIN=plomlompom.com
-REMOTE_PATH_REPOS=/var/repos
-
-expect_n_args 1 1 "(device name, e.g. 'sda')" $@
-abort_if_offline
-abort_if_not_user "${USERNAME}"
-abort_if_exists "${PATH_SECRETS}"
-abort_if_exists "${PATH_USER_SSH}"
-abort_if_exists "${PATH_REPOS}"
-
-mount_secrets "$1" # sets PASSPHRASE
-copy_and_unmount_secrets 'in'
-export BORG_PASSPHRASE="${PASSPHRASE}"
-
-prefixed_msg 'Copying passwords DB …'
-cp -a "${PATH_SECRETS_KDBX}" "${PATH_USER_KDBX}"
-
-prefixed_msg 'Setting up ~/.ssh …'
-cp -a "${PATH_SECRETS_SSH}" "${PATH_USER_SSH}"
-stty -echo
-trapp stty echo
-retry_until 1 'echo ""' 'ssh-add -q' 'prefixed_msg "Aborting due to ssh-add error"'
-stty echo
-trapp
-
-printf '\n'
-prefixed_msg 'Setting up ~/repos …'
-REPOS_SITE_LOGIN="${USERNAME}@${REPOS_SITE_DOMAIN}"
-mkdir "${PATH_REPOS}"
-cd "${PATH_REPOS}"
-ssh ${REPOS_SITE_LOGIN} "cd ${REMOTE_PATH_REPOS} && ls -1" | while read REPO_NAME; do
-    prefixed_msg "Cloning ${REPO_NAME} …"
-    git clone --quiet --recurse "${REPOS_SITE_LOGIN}:${REMOTE_PATH_REPOS}/${REPO_NAME}"
-done
-cd - > /dev/null
-
-prefixed_msg 'Setting up borg and pull in ~/org …'
-cd "${PATH_SECRETS_BORGKEYS}"
-ls -1 | while read _FILENAME; do
-    "${NAME_BORGAPP}" claim "${_FILENAME}"
-done
-cd -
-retry_until 2 '' "${NAME_BORGAPP} orgpull" "prefixed_msg 'Aborting due to unexpected ${NAME_BORGAPP} error.'" '' 'direct'
-prefixed_msg "${_OUTPUT}"
-
-prefixed_msg_exit
diff --git a/trixie/scripts/lib/abort_if_exists.sh b/trixie/scripts/lib/abort_if_exists.sh
deleted file mode 100644 (file)
index 21e1eee..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-. lib/abort.sh
-
-abort_if_exists() {
-    if [ -e "$1" ]; then
-        abort "Aborting since $1 already exists."
-    fi
-}
diff --git a/trixie/scripts/lib/check_finished_marker.sh b/trixie/scripts/lib/check_finished_marker.sh
deleted file mode 120000 (symlink)
index 1f6e673..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/check_finished_marker.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/constants_borg.sh b/trixie/scripts/lib/constants_borg.sh
deleted file mode 100644 (file)
index befcb4a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-NAME_BORGAPP=borgplom
-PATH_BORG_CONF="${HOME}/.config/borg"
diff --git a/trixie/scripts/lib/constants_finished.sh b/trixie/scripts/lib/constants_finished.sh
deleted file mode 120000 (symlink)
index dc95266..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/constants_finished.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/constants_seedbox.sh b/trixie/scripts/lib/constants_seedbox.sh
deleted file mode 120000 (symlink)
index cd89783..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/constants_seedbox.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/copy_and_unmount_secrets.sh b/trixie/scripts/lib/copy_and_unmount_secrets.sh
deleted file mode 100644 (file)
index 6a29ebe..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-. lib/constants_secrets.sh # PATH_REL_SECRETS, PATH_SECRETS
-
-copy_and_unmount_secrets() {
-prefixed_msg_init copy_and_unmount_secrets
-
-prefixed_msg "Copying over ${PATH_REL_SECRETS}."
-if [ "$1" = "out" ]; then
-    cp -a "${PATH_SECRETS}" "${PATH_MOUNTED_SECRETS}"
-elif [ "$1" = "in" ]; then
-    cp -a "${PATH_MOUNTED_SECRETS}" "${PATH_SECRETS}"
-else
-    abort "Illegal argument to unmount_secrets."
-fi
-pumount "${SECRETS_DEV}"
-prefixed_msg "You can remove device ${SECRETS_DEV} now."
-
-prefixed_msg_exit
-}
diff --git a/trixie/scripts/lib/expected_rtorrent_files.sh b/trixie/scripts/lib/expected_rtorrent_files.sh
deleted file mode 120000 (symlink)
index 3b830e9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/expected_rtorrent_files.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/for_line_in.sh b/trixie/scripts/lib/for_line_in.sh
deleted file mode 120000 (symlink)
index 08d5094..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/for_line_in.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/install_tags.sh b/trixie/scripts/lib/install_tags.sh
deleted file mode 120000 (symlink)
index 965dd4a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/install_tags.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/mount_secrets.sh b/trixie/scripts/lib/mount_secrets.sh
deleted file mode 100644 (file)
index 679d4c2..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-. lib/constants_secrets.sh  # PATH_MEDIA, PATH_REL_SECRETS
-. lib/expect_n_args.sh
-. lib/get_passphrase.sh
-. lib/path_tmp_timestamped.sh
-. lib/prefixed_msg.sh
-. lib/retry_until.sh
-
-mount_secrets() {
-prefixed_msg_init mount_secrets
-
-SECRETS_DEV=$1
-if [ -z "${SECRETS_DEV}" ]; then
-    abort "Aborting due to empty device argument."
-fi
-PATH_MOUNTED_SECRETS="${PATH_MEDIA}/${SECRETS_DEV}/${PATH_REL_SECRETS}"
-PATH_DEV="/dev/${SECRETS_DEV}"
-PATH_PMOUNT_ERR="$(path_tmp_timestamped 'err_mount')"
-prefixed_msg "Put secrets drive into slot for ${PATH_DEV}."
-while [ ! -e "${PATH_DEV}" ]; do
-    sleep 0.1
-done
-_ON_LOOP_START='prefixed_msg_no_nl "Passphrase: "; PASSPHRASE=$(get_passphrase); echo ""'
-_TO_TEST='echo "${PASSPHRASE}" | pmount "${PATH_DEV}" 2>&1'
-_ON_FAIL='prefixed_msg "Aborting due to pmount error:"'
-retry_until 100 "${_ON_LOOP_START}" "${_TO_TEST}" "${_ON_FAIL}"
-prefixed_msg "${_OUTPUT}"
-
-prefixed_msg_exit
-}
diff --git a/trixie/scripts/lib/put_finished_marker.sh b/trixie/scripts/lib/put_finished_marker.sh
deleted file mode 120000 (symlink)
index ec16395..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../bookworm/scripts/lib/put_finished_marker.sh
\ No newline at end of file
diff --git a/trixie/scripts/lib/retry_until.sh b/trixie/scripts/lib/retry_until.sh
deleted file mode 100644 (file)
index 5179ba1..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-retry_until() {
-    _CODE_FOR_CONTINUE="$1"
-    _ON_LOOP_START="$2"
-    _TO_TEST="$3"
-    _ON_FAIL="$4"
-    _ON_LOOP_END="$5"
-    _OUTPUT_MODE="$6"
-    while true; do
-        eval "${_ON_LOOP_START}"
-        set +e
-        if [ "${_OUTPUT_MODE}" = 'direct' ]; then
-            eval ${_TO_TEST}
-            _RESULT=$?
-        else
-            _OUTPUT="$(eval ${_TO_TEST})"
-            _RESULT=$?
-        fi
-        set -e
-        if [ "${_RESULT}" = '0' ]; then
-            break
-        elif [ "${_RESULT}" != "${_CODE_FOR_CONTINUE}" ]; then
-            eval "${_ON_FAIL}"
-            abort
-        fi
-        eval "${_ON_LOOP_END}"
-    done
-}
index a057953fe4da82373dbb3f858afe605397790349..a4bffd98fbc389eb3ec1109d3f5b30ebeb284ee9 100755 (executable)
@@ -6,12 +6,10 @@ cd "${ROOT}"
 . lib/abort_if_offline.sh
 . lib/apt_digested.sh
 . lib/constants_etc.sh  # PATH_ETC
-. lib/constants_finished.sh  # PATH_ROOT_FINISHEDS for put_finished_marker
 . lib/constants_user.sh  # USERNAME
 . lib/core_setup.sh
 . lib/expect_n_args.sh
 . lib/prefixed_msg.sh
-. lib/put_finished_marker.sh
 
 prefixed_msg_init
 prefixed_msg 'starting …'
@@ -81,5 +79,4 @@ prefixed_msg 'Final user setup …'
 adduser --quiet "${USERNAME}" plugdev  # so user may use pmount
 echo "${USERNAME}:${USER_PW}" | chpasswd
 
-put_finished_marker 'setup_desktop'
 prefixed_msg_exit
diff --git a/trixie/scripts/setup_secrets.sh b/trixie/scripts/setup_secrets.sh
deleted file mode 100755 (executable)
index 08ae489..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-set -e
-ROOT=$(dirname "$0")
-cd "${ROOT}"
-
-. lib/abort_if_not_user.sh
-. lib/check_finished_marker.sh
-. lib/constants_repopaths.sh  # PATH_CONF, PATH_SCRIPTS
-. lib/constants_user.sh  # USERNAME
-. lib/path_tmp_timestamped.sh
-. lib/prefixed_msg.sh
-
-prefixed_msg_init
-
-check_finished_marker 'setup_desktop'
-abort_if_not_user root
-PATH_REL_SETUP_SECRETS_USER="$(basename ${PATH_CONF})/$(basename ${PATH_SCRIPTS})/_setup_secrets_user.sh"
-PATH_REPO="$(dirname ${PATH_CONF})"
-PATH_TMP_REPO="$(path_tmp_timestamped configrepo)"
-
-prefixed_msg "Setting up config repo copy for user at ${PATH_TMP_REPO} …"
-cp -a "${PATH_REPO}" "${PATH_TMP_REPO}"
-chown -R "${USERNAME}:${USERNAME}" "${PATH_TMP_REPO}"
-su -l "${USERNAME}" -c "/bin/sh ${PATH_TMP_REPO}/${PATH_REL_SETUP_SECRETS_USER} $1"
-rm -rf "${PATH_TMP_REPO}"
-
-prefixed_msg_exit