From 3b0a4e695657e3c97e52e8b0e77545b0463b7e60 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 20 Mar 2024 15:18:39 +0100 Subject: [PATCH] Adjust directory of oh-my-posh theme --- scripts/Common/Config/Oh My Posh/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Common/Config/Oh My Posh/install.sh b/scripts/Common/Config/Oh My Posh/install.sh index 65e21cb1..9a1c5665 100755 --- a/scripts/Common/Config/Oh My Posh/install.sh +++ b/scripts/Common/Config/Oh My Posh/install.sh @@ -1,3 +1,5 @@ #!/bin/bash NEXTCLOUD_DIR="${NEXTCLOUD_DIR}"; -cat ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json | sudo tee /usr/share/oh-my-posh/themes/manuel.omp.json > /dev/null; +themeDir="/usr/local/share/oh-my-posh/themes"; +install -d644 "$themeDir"; +cat ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json | sudo tee "$themeDir/manuel.omp.json" > /dev/null;