From 17acbef42aca035adcaad3d185bc72cf67dd6184 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; {