summaryrefslogtreecommitdiff
path: root/desktop/plank
diff options
context:
space:
mode:
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 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}