From 41cc9273db8f577e097f4fa26f160e29c49e1cd1 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 20 Mar 2024 22:46:39 +0100 Subject: [PATCH] Run `install` as root --- scripts/Common/Config/Oh My Posh/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Config/Oh My Posh/install.sh b/scripts/Common/Config/Oh My Posh/install.sh index 7b49db02..fd4a1a37 100755 --- a/scripts/Common/Config/Oh My Posh/install.sh +++ b/scripts/Common/Config/Oh My Posh/install.sh @@ -4,7 +4,7 @@ pushd "${BASH_SOURCE%/*}" > /dev/null; . "../fish/profile.sh"; NEXTCLOUD_DIR="${NEXTCLOUD_DIR}"; themeDir="/usr/local/share/oh-my-posh/themes"; -install -dm644 "$themeDir"; +sudo install -dm644 "$themeDir"; cat ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json | sudo tee "$themeDir/manuel.omp.json" > /dev/null; {