diff options
author | Donald Cooley <chytraeu@sdf.org> | 2018-01-25 23:08:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-27 07:43:49 +0700 |
commit | 94bee21e98869c2851655dc1dfa4330d82c65a6f (patch) | |
tree | 6c3ed6776c65ee36826c26887719c05ea15a0c86 /office/qpdfview-qt5/doinst.sh | |
parent | b66d0f7e0450042bfb41174bf9f7c4b0ccd3355e (diff) | |
download | slackbuilds-94bee21e98869c2851655dc1dfa4330d82c65a6f.tar.gz |
office/qpdfview-qt5: Added (tabbed document viewer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/qpdfview-qt5/doinst.sh')
-rw-r--r-- | office/qpdfview-qt5/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/qpdfview-qt5/doinst.sh b/office/qpdfview-qt5/doinst.sh new file mode 100644 index 0000000000..aea0f894eb --- /dev/null +++ b/office/qpdfview-qt5/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 |