Adjust directory of oh-my-posh theme

This commit is contained in:
Manuel Thalmann 2024-03-20 15:18:39 +01:00
parent 08fa628869
commit dd9a54f181

View file

@ -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;