clean-up for new configure system

This commit is contained in:
Olaf Leidinger 2013-10-31 10:16:21 +01:00
parent 6cac4a1ba6
commit 83c4bcd90e
8 changed files with 0 additions and 39 deletions

View File

@ -1,32 +0,0 @@
NAME="TeaTime@oleid.mescharet.de"
if [ "$1" != "global" ] ; then
INST_DIR="$HOME/.local/share/gnome-shell/extensions/$NAME"
SUDO=""
echo "Installing extension locally..."
else
INST_DIR="/usr/share/gnome-shell/extensions/$NAME"
SUDO="sudo"
echo "Installing extension globally..."
echo "Installing icon"
$SUDO cp utilities-teatime.svg /usr/share/icons/hicolor/scalable/apps/
$SUDO gtk-update-icon-cache /usr/share/icons/hicolor/
fi
echo "Installing extension"
$SUDO mkdir -p "$INST_DIR"
$SUDO cp *.js *.json "$INST_DIR"
if [ "$1" != "global" ]; then
$SUDO cp -ax *.svg schemas "$INST_DIR"
glib-compile-schemas "$INST_DIR"/schemas
else
echo "Installing schema"
$SUDO cp schemas/*.xml /usr/share/glib-2.0/schemas/ && \
$SUDO glib-compile-schemas /usr/share/glib-2.0/schemas/ 2> /dev/null
fi

View File

@ -1,7 +0,0 @@
#!/bin/sh
#
# pack for upload to extensions.gnome.org
today=$(date +"%Y%m%d")
zip TeaTime@oleid.mescharet.de-$today.zip *.md utils.js prefs.js extension.js install.sh *.svg metadata.json schemas/org.gnome.shell.extensions.teatime.gschema.xml schemas/gschemas.compiled

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB