diff options
author | Matteo Bernardini | 2021-01-30 16:23:40 +0100 |
---|---|---|
committer | Matteo Bernardini | 2021-01-30 16:23:40 +0100 |
commit | c92ee29b17ad2239ce11ddd76134b199ef5a3ed2 (patch) | |
tree | ed33817b0ffbb52c85efc59a8ff7282182e7c0b5 /system/dosbox-x/doinst.sh | |
parent | 2e286279c8e562590897ef95d592f0ce4edbce32 (diff) | |
download | slackbuilds-c92ee29b17ad2239ce11ddd76134b199ef5a3ed2.tar.gz |
20210130.1 global branch merge.current-20210130.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/dosbox-x/doinst.sh')
-rw-r--r-- | system/dosbox-x/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/dosbox-x/doinst.sh b/system/dosbox-x/doinst.sh new file mode 100644 index 0000000000..4a25de5e6f --- /dev/null +++ b/system/dosbox-x/doinst.sh @@ -0,0 +1,10 @@ +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 + |