From b45bcc65430e1c59a459dd8d09a6182dc2f2bd29 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 30 May 2016 22:06:47 +0700 Subject: desktop/plank: Update doinst.sh. Thanks to montagdude in LQ. Signed-off-by: Willy Sudiarto Raharjo --- desktop/plank/doinst.sh | 6 ++++++ desktop/plank/plank.SlackBuild | 1 + 2 files changed, 7 insertions(+) (limited to 'desktop/plank') 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} -- cgit v1.2.3