mirror of
https://github.com/oleid/gnome-shell-teatime.git
synced 2022-04-29 18:53:50 +00:00
fix installation, add install of schema
This commit is contained in:
parent
47f9d6195c
commit
0602a89ec3
@ -1,7 +1,7 @@
|
|||||||
NAME="TeaTime@oleid.mescharet.de"
|
NAME="TeaTime@oleid.mescharet.de"
|
||||||
|
|
||||||
if [ "$1" = "local" ] ; then
|
if [ "$1" = "local" ] ; then
|
||||||
INST_DIR="$HOME/.local/gnome-shell/extensions/$NAME"
|
INST_DIR="$HOME/.local/share/gnome-shell/extensions/$NAME"
|
||||||
SUDO=""
|
SUDO=""
|
||||||
else
|
else
|
||||||
INST_DIR="/usr/share/gnome-shell/extensions/$NAME"
|
INST_DIR="/usr/share/gnome-shell/extensions/$NAME"
|
||||||
@ -14,9 +14,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo "Installing extension"
|
echo "Installing extension"
|
||||||
|
glib-compile-schemas schemas
|
||||||
$SUDO mkdir -p "$INST_DIR"
|
$SUDO mkdir -p "$INST_DIR"
|
||||||
|
|
||||||
$SUDO cp *.js *.json "$INST_DIR"
|
$SUDO cp -ax *.js *.json schemas "$INST_DIR"
|
||||||
|
|
||||||
if [ "$1" = "local" ]; then
|
if [ "$1" = "local" ]; then
|
||||||
$SUDO cp *.svg "$INST_DIR"
|
$SUDO cp *.svg "$INST_DIR"
|
||||||
|
Loading…
Reference in New Issue
Block a user