summaryrefslogtreecommitdiff
path: root/office/enpass/doinst.sh
diff options
context:
space:
mode:
authorJustin Teague <baumerang@posteo.net>2019-06-04 09:33:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-09 05:31:21 +0700
commit918d5b2ad0a7de7b8630585f06a7e288b1a6adcb (patch)
treec16b182cd6e22dc99336a8bef0db4c52d073e20f /office/enpass/doinst.sh
parentb9be69ac79c3536ad2ba05daffcfe5685a0cddaa (diff)
downloadslackbuilds-918d5b2ad0a7de7b8630585f06a7e288b1a6adcb.tar.gz
office/enpass: Added (a multiplatform password manager).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/enpass/doinst.sh')
-rw-r--r--office/enpass/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/enpass/doinst.sh b/office/enpass/doinst.sh
new file mode 100644
index 0000000000..a8304db5b7
--- /dev/null
+++ b/office/enpass/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