There was an error while loading. Please reload this page.
1 parent a6106ed commit c12c502Copy full SHA for c12c502
1 file changed
install.sh
@@ -1,9 +1,22 @@
1
#!/bin/sh
2
+
3
+set -e
4
5
+if [ "$(whoami)" = root ];
6
+then
7
+ echo "Please do not run this script as root or using sudo"
8
+ exit 1
9
+fi
10
11
if [ -d "build" ]; then
12
rm -rf build
13
fi
14
-# install plasmoid only
-cmake -B build -S . -DCMAKE_INSTALL_PREFIX="$HOME/.local"
15
+# install plugin
16
+cmake -B build -S .
17
cmake --build build
-cmake --install build
18
+sudo cmake --install build
19
20
+# remove KDE Store / kpackagetool6 install so it doesn't override the system one
21
22
+rm -r "$HOME/.local/share/plasma/wallpapers/luisbocanegra.smart.video.wallpaper.reborn/"
0 commit comments