Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
When we add / remove mime files, run update-mime-database afterwards
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Mar 5, 2014
1 parent 93c73fb commit 183bb98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src-sh/pbi-manager/pbi-manager
Expand Up @@ -4158,6 +4158,10 @@ mk_xdg_mime_script() {
>> "${dir}/${PBI_UNINS_MIMESCRIPT}"
done

# Update the mime databases now
echo "update-mime-database" >> "${dir}/${PBI_INS_MIMESCRIPT}"
echo "update-mime-database" >> "${dir}/${PBI_UNINS_MIMESCRIPT}"

chmod 755 "${dir}/${PBI_INS_MIMESCRIPT}"
chmod 755 "${dir}/${PBI_UNINS_MIMESCRIPT}"

Expand Down

0 comments on commit 183bb98

Please sign in to comment.