diff options
author | B. Watson <urchlay@slackware.uk> | 2023-08-04 18:22:25 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-12 08:29:51 +0700 |
commit | e85714a423d80ebeef4bcce3700c5482f16a6ede (patch) | |
tree | 8536c8f3eb6d99a9f1495a96f31e8af8452e937d /games/KoboDeluxe/doinst.sh | |
parent | 74044db7b90566735f916356f198a27e1700fc76 (diff) |
games/KoboDeluxe: New maintainer, various fixes.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/KoboDeluxe/doinst.sh')
-rw-r--r-- | games/KoboDeluxe/doinst.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/KoboDeluxe/doinst.sh b/games/KoboDeluxe/doinst.sh index ef0cf43a90..65c7e2eeb9 100644 --- a/games/KoboDeluxe/doinst.sh +++ b/games/KoboDeluxe/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database usr/share/applications &> /dev/null + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +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 |