diff options
author | Mark Noman <smithmark347@gmail.com> | 2012-12-11 17:50:46 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-11 16:23:08 -0500 |
commit | ef558b444ebca11f546ae4823f3e0e5750f5c6fa (patch) | |
tree | 03dceb2bb30dcdfbcf993b7253d5c6132c749556 /office/qpdfview/doinst.sh | |
parent | eee26a9bb27ff4817a5d231b48809d67897d09cd (diff) |
office/qpdfview: Added (Document Viewer).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/qpdfview/doinst.sh')
-rw-r--r-- | office/qpdfview/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/office/qpdfview/doinst.sh b/office/qpdfview/doinst.sh new file mode 100644 index 0000000000000..9424ce43ff572 --- /dev/null +++ b/office/qpdfview/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 |