diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2019-07-30 22:33:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-30 22:33:44 +0700 |
commit | 29f8b63af205347a302d4106529264654ab81458 (patch) | |
tree | 49dd85a563ad4747d58cb708274df3ab0dee08f6 /office/calibre-bin/doinst.sh | |
parent | 6b9bdc900fc6e1eab32f524e0cfce38871c24d25 (diff) |
office/calibre-bin: Added (Ebook manager).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/calibre-bin/doinst.sh')
-rw-r--r-- | office/calibre-bin/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/calibre-bin/doinst.sh b/office/calibre-bin/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /dev/null +++ b/office/calibre-bin/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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |