updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / mcomix / mcomix.install
blob82017aa9c4cf9f456f6f18c9617b5cf16c47b5f9
1 pkgname=mcomix
3 post_install() {
4   which xdg-icon-resource >/dev/null 2>&1 && xdg-icon-resource forceupdate || true
5   which gconfpkg >/dev/null 2>&1 && usr/sbin/gconfpkg --install ${pkgname}
6   echo "update desktop mime database..."
7   update-desktop-database -q
10 pre_upgrade() {
11   pre_remove $1
14 post_upgrade() {
15   post_install $1
18 pre_remove() {
19   which gconfpkg >/dev/null 2>&1 && usr/sbin/gconfpkg --uninstall ${pkgname}
22 post_remove() {
23   which xdg-icon-resource >/dev/null 2>&1 && xdg-icon-resource forceupdate || true
24   echo "update desktop mime database..."
25   update-desktop-database -q