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