From 0602a89ec31f9ee7cf65bbee835a7f0d195ae8e0 Mon Sep 17 00:00:00 2001 From: Olaf Leidinger Date: Wed, 22 May 2013 07:45:17 +0200 Subject: [PATCH] fix installation, add install of schema --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"