diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-01-14 06:24:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-14 06:24:15 +0700 |
commit | 643bb42ebdee04e0080e7d21a5c2c3e6ba255154 (patch) | |
tree | 50b62681d0d0f86e585235a601432a18805e426f /graphics/yacreader/doinst.sh | |
parent | 2abb7a234e0558dddc7134b6e4eaced0bd72c5aa (diff) | |
download | slackbuilds-643bb42ebdee04e0080e7d21a5c2c3e6ba255154.tar.gz |
graphics/yacreader: Added (comic book reader).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/yacreader/doinst.sh')
-rw-r--r-- | graphics/yacreader/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/yacreader/doinst.sh b/graphics/yacreader/doinst.sh new file mode 100644 index 0000000000..9424ce43ff --- /dev/null +++ b/graphics/yacreader/doinst.sh @@ -0,0 +1,13 @@ +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 [ -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 |