aboutsummaryrefslogtreecommitdiff
path: root/office/xournalpp/doinst.sh
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2019-08-18 06:32:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-18 06:32:35 +0700
commitc775a891e9906bf91f950f69112bbe3eec9016bf (patch)
tree240e99ec0d310f4c32878ef25708b8e473b48883 /office/xournalpp/doinst.sh
parenta4707cb0c7c3755478368763a8a85e37e87d24b1 (diff)
office/xournalpp: Added (handwriting software).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/xournalpp/doinst.sh')
-rw-r--r--office/xournalpp/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/xournalpp/doinst.sh b/office/xournalpp/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/office/xournalpp/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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