diff options
Diffstat (limited to 'community/drivel/drivel.install')
-rw-r--r-- | community/drivel/drivel.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/drivel/drivel.install b/community/drivel/drivel.install new file mode 100644 index 000000000..cbb2491ce --- /dev/null +++ b/community/drivel/drivel.install @@ -0,0 +1,22 @@ +pkgname=drivel + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime +} |