aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/gtkdatabox/doinst.sh5
-rw-r--r--libraries/gtkdatabox/gtkdatabox.SlackBuild1
2 files changed, 6 insertions, 0 deletions
diff --git a/libraries/gtkdatabox/doinst.sh b/libraries/gtkdatabox/doinst.sh
new file mode 100644
index 0000000000000..4110f5514d7ca
--- /dev/null
+++ b/libraries/gtkdatabox/doinst.sh
@@ -0,0 +1,5 @@
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/libraries/gtkdatabox/gtkdatabox.SlackBuild b/libraries/gtkdatabox/gtkdatabox.SlackBuild
index d65c00cfea1b2..a756628479b54 100644
--- a/libraries/gtkdatabox/gtkdatabox.SlackBuild
+++ b/libraries/gtkdatabox/gtkdatabox.SlackBuild
@@ -106,6 +106,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