diff options
author | Samuel Young <samyoung12788@gmail.com> | 2023-03-21 05:54:01 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-25 10:01:50 +0700 |
commit | 05d5ebfc503da7c096f6a6b94a3f9abbdbbf3383 (patch) | |
tree | bbc294365f0fb5dce499c04efa2930e239f65e8c /games/PrismLauncher/doinst.sh | |
parent | 8d3c93e6c704e4c5aa7d439146433e11a59548fb (diff) |
games/PrismLauncher: Added (Open-source Minecraft launcher)
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/PrismLauncher/doinst.sh')
-rw-r--r-- | games/PrismLauncher/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/PrismLauncher/doinst.sh b/games/PrismLauncher/doinst.sh new file mode 100644 index 0000000000000..3e5691a052b5b --- /dev/null +++ b/games/PrismLauncher/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |