summaryrefslogtreecommitdiff
path: root/community/gnote/gnote.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-25 23:14:59 +0000
committerroot <root@rshg054.dnsready.net>2011-09-25 23:14:59 +0000
commit21efc9511d14394cc1d8426e2e0a6c668964fbe9 (patch)
tree7e6141022e93959706f4a4cba61e40b0d083161b /community/gnote/gnote.install
parent38a0b12ffffc8842019f47425b60688253e709b0 (diff)
Sun Sep 25 23:14:59 UTC 2011
Diffstat (limited to 'community/gnote/gnote.install')
-rw-r--r--community/gnote/gnote.install17
1 files changed, 8 insertions, 9 deletions
diff --git a/community/gnote/gnote.install b/community/gnote/gnote.install
index 780fae868..0f8eb1012 100644
--- a/community/gnote/gnote.install
+++ b/community/gnote/gnote.install
@@ -1,22 +1,21 @@
pkgname=gnote
post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
}
pre_upgrade() {
- pre_remove $1
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
}
post_upgrade() {
- post_install
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
+ post_install
}
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}