diff options
Diffstat (limited to 'community/docky/docky.install')
-rw-r--r-- | community/docky/docky.install | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/docky/docky.install b/community/docky/docky.install new file mode 100644 index 000000000..4e2242957 --- /dev/null +++ b/community/docky/docky.install @@ -0,0 +1,30 @@ +pkgname=docky + +post_install() { + echo "Installing schema..." + gconfpkg --install ${pkgname} + + echo "Updating desktop..." + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + echo "Removing schema..." + gconfpkg --uninstall ${pkgname} +} + +post_remove() { + echo "Updating desktop..." + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + |