aboutsummaryrefslogtreecommitdiff
path: root/misc/bitwarden-desktop/doinst.sh
diff options
context:
space:
mode:
authormarav <marav8@free.fr>2022-09-30 17:46:34 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-01 09:01:15 +0700
commitba8f3f0bdba402b73fecf15f30b537bcdbf69d89 (patch)
tree157e93ba96baf575cd142a7e0b86ad6ff18e7d95 /misc/bitwarden-desktop/doinst.sh
parent2daec929f00ec7142a57b3775a347cc6a836a69e (diff)
misc/bitwarden-desktop: Added (FOSS password management solutions)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/bitwarden-desktop/doinst.sh')
-rw-r--r--misc/bitwarden-desktop/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/bitwarden-desktop/doinst.sh b/misc/bitwarden-desktop/doinst.sh
new file mode 100644
index 0000000000..7d010b535a
--- /dev/null
+++ b/misc/bitwarden-desktop/doinst.sh
@@ -0,0 +1,12 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+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
+
+