diff options
author | root <root@rshg054.dnsready.net> | 2011-10-06 23:14:37 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-06 23:14:37 +0000 |
commit | 5442e9b8f357932ed5d6cb46e90fcbf6f453469f (patch) | |
tree | e2393e2f381e2e539810e51c34e56c8f687c153c /staging/evince/evince.install | |
parent | 068f1f30c0bba25b6b88cefbe982a72535fa1951 (diff) |
Thu Oct 6 23:14:37 UTC 2011
Diffstat (limited to 'staging/evince/evince.install')
-rw-r--r-- | staging/evince/evince.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/staging/evince/evince.install b/staging/evince/evince.install new file mode 100644 index 000000000..9643a9ba0 --- /dev/null +++ b/staging/evince/evince.install @@ -0,0 +1,19 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if (( $(vercmp $2 2.90.0) < 0 )); then + usr/sbin/gconfpkg --uninstall evince + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |