From 3583d50cb90c0ed5a2adfc2a82c10285ea3d6c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=C3=A4tzold?= Date: Sun, 29 Mar 2026 12:46:19 +0200 Subject: [PATCH] Kwallet: Create Folder for Wallet if not there --- client_software/0010_kwallet/install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client_software/0010_kwallet/install.sh b/client_software/0010_kwallet/install.sh index 782b4e5..e2fd519 100755 --- a/client_software/0010_kwallet/install.sh +++ b/client_software/0010_kwallet/install.sh @@ -48,8 +48,13 @@ if [[ ! -z ${WALLET_PID} ]]; then fi fi -#Check for existing legacy wallets: should be empty. Otherwise: move them. +#Reset mount umount ${WALLETPATH_CFG} >/dev/null 2>&1 +#Setup encrypted path if not existing already +mkdir -p ${WALLETPATH} +chown $SUDO_USER:$SUDO_USER ${WALLETPATH} -R +chmod u=rwX,og-rwx ${WALLETPATH} -R +#Check for existing legacy wallets: should be empty. Otherwise: move them. PATTERN=(${WALLETPATH_CFG}/*.kwl) if [ -f ${PATTERN[0]} ]; then mv ${WALLETPATH_CFG}/*.* ${WALLETPATH}