aboutsummaryrefslogtreecommitdiff
path: root/graphics/gscan2pdf/doinst.sh
diff options
context:
space:
mode:
authorMichel A. BEGUE <mab974@gmail.com>2020-01-26 07:06:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-26 07:06:16 +0700
commit8a2e02dc3c959120abfc9f10bf306862b5416d42 (patch)
tree86600e19e59dc9cf9a872b348ab44a11818613ae /graphics/gscan2pdf/doinst.sh
parentcf5449621c8a463e6c78397f084b1b2c1dffd9ff (diff)
graphics/gscan2pdf: Added (A GUI to produce PDFs or DjVus).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/gscan2pdf/doinst.sh')
-rw-r--r--graphics/gscan2pdf/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/gscan2pdf/doinst.sh b/graphics/gscan2pdf/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/graphics/gscan2pdf/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