summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Johannes Schoepfer2020-11-07 00:44:19 +0100
committer Willy Sudiarto Raharjo2020-11-07 08:02:26 +0100
commit373a648772cf8708d9f44ba4b931c09271234814 (patch)
tree8b8126c7894f32e56f74054f3a3c7a1453eca3cf /games
parentb11f46cd4f94592e8fce762ab713d9d1ba74ecf7 (diff)
downloadslackbuilds-373a648772cf8708d9f44ba4b931c09271234814.tar.gz
games/aisleriot: Update doinst.sh.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/aisleriot/aisleriot.SlackBuild2
-rw-r--r--games/aisleriot/doinst.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/games/aisleriot/aisleriot.SlackBuild b/games/aisleriot/aisleriot.SlackBuild
index 115cf64de6..b5097e18ae 100644
--- a/games/aisleriot/aisleriot.SlackBuild
+++ b/games/aisleriot/aisleriot.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=aisleriot
VERSION=${VERSION:-3.22.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/games/aisleriot/doinst.sh b/games/aisleriot/doinst.sh
index 65c7e2eeb9..401d987795 100644
--- a/games/aisleriot/doinst.sh
+++ b/games/aisleriot/doinst.sh
@@ -7,3 +7,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi