aboutsummaryrefslogtreecommitdiff
path: root/games/aisleriot
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2020-11-06 23:44:19 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 14:02:26 +0700
commit373a648772cf8708d9f44ba4b931c09271234814 (patch)
tree8b8126c7894f32e56f74054f3a3c7a1453eca3cf /games/aisleriot
parentb11f46cd4f94592e8fce762ab713d9d1ba74ecf7 (diff)
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/aisleriot')
-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 115cf64de64e9..b5097e18aec7a 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 65c7e2eeb9aa5..401d9877955be 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