diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-30 22:06:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-31 04:58:45 +0700 |
commit | b45bcc65430e1c59a459dd8d09a6182dc2f2bd29 (patch) | |
tree | afd4ebb5f4cd59ad89ccca36632ed4b215cdbffd /desktop/plank | |
parent | 9eb0aefa23eadc157634ffeab57dd95decee9eed (diff) | |
download | slackbuilds-b45bcc65430e1c59a459dd8d09a6182dc2f2bd29.tar.gz |
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.sh | 6 | ||||
-rw-r--r-- | desktop/plank/plank.SlackBuild | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/desktop/plank/doinst.sh b/desktop/plank/doinst.sh index 9424ce43ff..ed2846092a 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 f8df7acb79..d5b8e0eb46 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} |