diff options
Diffstat (limited to 'gnome-unstable/gedit/gedit.install')
-rw-r--r-- | gnome-unstable/gedit/gedit.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnome-unstable/gedit/gedit.install b/gnome-unstable/gedit/gedit.install new file mode 100644 index 000000000..606920688 --- /dev/null +++ b/gnome-unstable/gedit/gedit.install @@ -0,0 +1,18 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas + update-desktop-database -q +} + +pre_upgrade() { + if [ -f /usr/share/gconf/schemas/gedit.schemas ]; then + gconfpkg --uninstall gedit + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |