Run install as root

This commit is contained in:
Manuel Thalmann 2024-03-20 22:46:39 +01:00
parent 20fffcadf7
commit 17acbef42a

View file

@ -4,7 +4,7 @@ pushd "${BASH_SOURCE%/*}" > /dev/null;
. "../fish/profile.sh"; . "../fish/profile.sh";
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}"; NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
themeDir="/usr/local/share/oh-my-posh/themes"; 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; cat ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json | sudo tee "$themeDir/manuel.omp.json" > /dev/null;
{ {