diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-01-24 17:53:00 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-27 07:43:43 +0700 |
commit | b538d5eea15eb359de7188f70648dc149d02cc2c (patch) | |
tree | 8174ee4093255a38880606528f854f505e03aba4 /games/chessx/doinst.sh | |
parent | e9421ef3a93f29df0efaebc678e5b1bfc5a869d5 (diff) |
games/chessx: Added an icon and a desktop file.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/chessx/doinst.sh')
-rw-r--r-- | games/chessx/doinst.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/games/chessx/doinst.sh b/games/chessx/doinst.sh new file mode 100644 index 0000000000000..9a8ded3c60349 --- /dev/null +++ b/games/chessx/doinst.sh @@ -0,0 +1,7 @@ +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 |