diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-07-09 20:20:41 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-07-09 20:20:41 +0100 |
commit | e9f1ade9d655996dab4908181dc2e50e51535992 (patch) | |
tree | 2ff47b681d66ec6efdd9589f34ce302a68ae4936 /games/puNES/doinst.sh | |
parent | 2e41c043f270851b5431278d2d7e74f317efb454 (diff) | |
download | slackbuilds-e9f1ade9d655996dab4908181dc2e50e51535992.tar.gz |
games/puNES: Added (NES emulator).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/puNES/doinst.sh')
-rw-r--r-- | games/puNES/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/games/puNES/doinst.sh b/games/puNES/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/games/puNES/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |