Permalink
Browse files

Also run update-mime-database after installing new menu entries

  • Loading branch information...
1 parent 183bb98 commit 603770d3c48bc6c817c977e37ea82ccd6131698a @kmoore134 kmoore134 committed Mar 5, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 src-sh/pbi-manager/pbi-manager
@@ -4111,6 +4111,10 @@ mk_xdg_menu_script() {
done
+ # Update the mime databases now
+ echo "update-mime-database" >> "${dir}/${PBI_INS_MENUSCRIPT}"
+ echo "update-mime-database" >> "${dir}/${PBI_UNINS_MENUSCRIPT}"
+
chmod 755 "${dir}/${PBI_INS_MENUSCRIPT}"
chmod 755 "${dir}/${PBI_UNINS_MENUSCRIPT}"

0 comments on commit 603770d

Please sign in to comment.