aboutsummaryrefslogtreecommitdiff
path: root/libraries/libxfcegui4
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 16:41:29 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:31 +0700
commit1b7930ec3f087ecab7c05f4654187292f126b912 (patch)
tree3d27e04625bfec6fb8f9849cb90cd89a91c81069 /libraries/libxfcegui4
parent63db34ffa6621354bb64c91911b4ce9498d4d750 (diff)
libraries/libxfcegui4: Update icon cache in doinst.sh.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libxfcegui4')
-rw-r--r--libraries/libxfcegui4/doinst.sh5
-rw-r--r--libraries/libxfcegui4/libxfcegui4.SlackBuild1
2 files changed, 6 insertions, 0 deletions
diff --git a/libraries/libxfcegui4/doinst.sh b/libraries/libxfcegui4/doinst.sh
new file mode 100644
index 000000000000..4110f5514d7c
--- /dev/null
+++ b/libraries/libxfcegui4/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/libxfcegui4/libxfcegui4.SlackBuild b/libraries/libxfcegui4/libxfcegui4.SlackBuild
index 901399cc3857..22d1bf2312e0 100644
--- a/libraries/libxfcegui4/libxfcegui4.SlackBuild
+++ b/libraries/libxfcegui4/libxfcegui4.SlackBuild
@@ -110,6 +110,7 @@ cp -a \
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