diff options
author | Steven Voges <svoges.sbo@gmail.com> | 2022-09-14 19:28:04 +0100 |
---|---|---|
committer | bedlam <dave@slackbuilds.org> | 2022-09-14 19:28:04 +0100 |
commit | eeb8abcccbfed55f1389d6008b31c43b7dc2b301 (patch) | |
tree | 580cbe44fd7060ba1abeb861b530639cacdaffdb /games/pcsx2/doinst.sh | |
parent | 9da01a8c2166e10437bc789d3d0d62d0e37e8df0 (diff) |
games/pcsx2: Added (PlayStation 2 Emulator)
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'games/pcsx2/doinst.sh')
-rw-r--r-- | games/pcsx2/doinst.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/pcsx2/doinst.sh b/games/pcsx2/doinst.sh new file mode 100644 index 0000000000000..262eb5a9e5eb2 --- /dev/null +++ b/games/pcsx2/doinst.sh @@ -0,0 +1,14 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +# If other icon themes are installed, then add to/modify this as needed +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 |