diff options
Diffstat (limited to 'libraries/libxfcegui4')
-rw-r--r-- | libraries/libxfcegui4/doinst.sh | 5 | ||||
-rw-r--r-- | libraries/libxfcegui4/libxfcegui4.SlackBuild | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libraries/libxfcegui4/doinst.sh b/libraries/libxfcegui4/doinst.sh new file mode 100644 index 0000000000000..4110f5514d7ca --- /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 901399cc38571..22d1bf2312e0b 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 |