diff --git a/install.sh b/install.sh index 847d396..04880f5 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ NAME="TeaTime@oleid.mescharet.de" if [ "$1" = "local" ] ; then - INST_DIR="$HOME/.local/gnome-shell/extensions/$NAME" + INST_DIR="$HOME/.local/share/gnome-shell/extensions/$NAME" SUDO="" else INST_DIR="/usr/share/gnome-shell/extensions/$NAME" @@ -14,9 +14,10 @@ fi echo "Installing extension" +glib-compile-schemas schemas $SUDO mkdir -p "$INST_DIR" -$SUDO cp *.js *.json "$INST_DIR" +$SUDO cp -ax *.js *.json schemas "$INST_DIR" if [ "$1" = "local" ]; then $SUDO cp *.svg "$INST_DIR"