aboutsummaryrefslogtreecommitdiff
path: root/misc/yubioath-desktop/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 22:07:07 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:38 +0700
commit1a98d8dd9cfcda19e30c3617fb08dfa4e151f50c (patch)
tree7772f1f20dc77380b7450a7352c52a21e9a8d258 /misc/yubioath-desktop/doinst.sh
parentb775a8b25ecd130b530edd1c89f19ef3d4d000a0 (diff)
misc/yubioath-desktop: Fix desktop file handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/yubioath-desktop/doinst.sh')
-rw-r--r--misc/yubioath-desktop/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/yubioath-desktop/doinst.sh b/misc/yubioath-desktop/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/misc/yubioath-desktop/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi