summaryrefslogtreecommitdiffstats
path: root/system/fish/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/fish/doinst.sh')
-rw-r--r--system/fish/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/fish/doinst.sh b/system/fish/doinst.sh
index 20492202c8..2eb3aa70da 100644
--- a/system/fish/doinst.sh
+++ b/system/fish/doinst.sh
@@ -15,3 +15,7 @@ config etc/fish/config.fish.new
# add Fish to /etc/shells
grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi