diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 15:13:47 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:25 +0700 |
commit | d5d6c9dc9db93ae9bb68d6357e8d7bb32c458367 (patch) | |
tree | baad87e67c0f8480078709f54a0d8eef130c3f68 /libraries/gtkdatabox | |
parent | f1515ccc30c98357af8de003c40d65c7ce605860 (diff) |
libraries/gtkdatabox: Updated icon cache.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gtkdatabox')
-rw-r--r-- | libraries/gtkdatabox/doinst.sh | 5 | ||||
-rw-r--r-- | libraries/gtkdatabox/gtkdatabox.SlackBuild | 1 |
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 |