diff options
Diffstat (limited to 'update-mime-database.hook')
-rw-r--r-- | update-mime-database.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/update-mime-database.hook b/update-mime-database.hook new file mode 100644 index 000000000000..f8470fb2c36f --- /dev/null +++ b/update-mime-database.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Operation = Remove +Target = usr/share/mime/packages/*.xml + +[Action] +Description = Updating the MIME type database... +When = PostTransaction +Exec = /usr/bin/update-mime-database /usr/share/mime |