diff options
author | James Crompton | 2016-03-07 13:12:36 +0100 |
---|---|---|
committer | James Crompton | 2016-03-07 15:10:22 +0100 |
commit | 8cefd23b39c52f6f33f7aff828f26e0af0507ac1 (patch) | |
tree | 3e27a535207535c369f7d8841da3ecbf6651a4c1 | |
parent | 35c3692839402809150cd37010c939a62b334cc4 (diff) | |
download | aur-8cefd23b39c52f6f33f7aff828f26e0af0507ac1.tar.gz |
Update mime database where appropriate
-rw-r--r-- | cewe-fotobuch.install | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/cewe-fotobuch.install b/cewe-fotobuch.install index 963d713a2127..c00b3fc966ef 100644 --- a/cewe-fotobuch.install +++ b/cewe-fotobuch.install @@ -5,14 +5,23 @@ post_install() { echo 'you start using it' echo '--------------------------------------------------' - chmod 775 /usr/share/cewe-fotobuch + update-mime-database /usr/share/mime &> /dev/null + update-desktop-database &> /dev/null /bin/true } post_upgrade() { + update-mime-database /usr/share/mime &> /dev/null + update-desktop-database &> /dev/null /bin/true } pre_remove() { /bin/true -}
\ No newline at end of file +} + +post_remove() { + update-mime-database /usr/share/mime &> /dev/null + update-desktop-database &> /dev/null + /bin/true +} |