diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2016-08-17 23:24:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:49:48 +0700 |
commit | ac23335a6a657ba2391b028bcb394e97d92dc76c (patch) | |
tree | 3df5251b3fc95a941facc8dae9297a44eb838f23 /games/doomretro/doinst.sh | |
parent | b95ba190736ca02600c37c6d183d310a5331dd27 (diff) |
games/doomretro: Adds the .desktop file and icon.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doomretro/doinst.sh')
-rw-r--r-- | games/doomretro/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/doomretro/doinst.sh b/games/doomretro/doinst.sh new file mode 100644 index 0000000000000..3e5691a052b5b --- /dev/null +++ b/games/doomretro/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 |