updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gwyddion / gwyddion.install
blobc0edea22eb628c0b8065a6921822c49322bc9f14
1 pkgname=gwyddion
3 post_install() {
4   usr/sbin/gconfpkg --install ${pkgname}
5   gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
6   update-desktop-database -q
7   update-mime-database usr/share/mime &> /dev/null
10 pre_upgrade() {
11   pre_remove $1
14 post_upgrade() {
15   post_install $1
18 pre_remove() {
19   usr/sbin/gconfpkg --uninstall ${pkgname}
22 post_remove() {
23   update-desktop-database -q
24   gtk-update-icon-cache -q -f -t usr/share/icons/hicolor