summaryrefslogtreecommitdiffstats
path: root/games/manaplus/doinst.sh
diff options
context:
space:
mode:
author slackjeff2022-07-01 19:33:07 +0200
committer Willy Sudiarto Raharjo2022-07-02 04:55:33 +0200
commitee2a63c509438c9b1b10b5256e6167cdc2a4ec45 (patch)
tree50031108347fd97a0cb3ba44372d85f1dc960af3 /games/manaplus/doinst.sh
parentbc357bea95c84c0b30c736dc8c8a80faa8feeb82 (diff)
downloadslackbuilds-ee2a63c509438c9b1b10b5256e6167cdc2a4ec45.tar.gz
games/manaplus: Updated for version 2.1.3.17. New email.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/manaplus/doinst.sh')
-rw-r--r--games/manaplus/doinst.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/manaplus/doinst.sh b/games/manaplus/doinst.sh
index 5fb28930db..d51871bfb1 100644
--- a/games/manaplus/doinst.sh
+++ b/games/manaplus/doinst.sh
@@ -1,3 +1,12 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+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
+
+# Fix sbopkglint
+#--- usr/share/icons should not contain files with executable permission:
+#-rwxr-xr-x 1 root root 8075 Jun 24 14:01 usr/share/icons/hicolor/scalable/apps/manaplus.svg
+chmod 744 $CWD/usr/share/icons/hicolor/scalable/apps/manaplus.svg