aboutsummaryrefslogtreecommitdiff
path: root/desktop/plank
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-30 22:06:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-31 04:58:45 +0700
commitb45bcc65430e1c59a459dd8d09a6182dc2f2bd29 (patch)
treeafd4ebb5f4cd59ad89ccca36632ed4b215cdbffd /desktop/plank
parent9eb0aefa23eadc157634ffeab57dd95decee9eed (diff)
desktop/plank: Update doinst.sh.
Thanks to montagdude in LQ. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/plank')
-rw-r--r--desktop/plank/doinst.sh6
-rw-r--r--desktop/plank/plank.SlackBuild1
2 files changed, 7 insertions, 0 deletions
diff --git a/desktop/plank/doinst.sh b/desktop/plank/doinst.sh
index 9424ce43ff57..ed2846092a1f 100644
--- a/desktop/plank/doinst.sh
+++ b/desktop/plank/doinst.sh
@@ -11,3 +11,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/desktop/plank/plank.SlackBuild b/desktop/plank/plank.SlackBuild
index f8df7acb79bb..d5b8e0eb4601 100644
--- a/desktop/plank/plank.SlackBuild
+++ b/desktop/plank/plank.SlackBuild
@@ -98,6 +98,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}