summarylogtreecommitdiffstats
path: root/gedit2.install
diff options
context:
space:
mode:
Diffstat (limited to 'gedit2.install')
-rw-r--r--gedit2.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/gedit2.install b/gedit2.install
new file mode 100644
index 000000000000..cfd71391940a
--- /dev/null
+++ b/gedit2.install
@@ -0,0 +1,22 @@
+pkgname=gedit2
+
+post_install() {
+ usr/sbin/gconfpkg --install gedit
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall gedit
+}
+
+post_remove() {
+ update-desktop-database -q
+}