summaryrefslogtreecommitdiffstats
path: root/debian/gedit.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/gedit.prerm')
-rw-r--r--debian/gedit.prerm9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/gedit.prerm b/debian/gedit.prerm
new file mode 100644
index 0000000..96938d1
--- /dev/null
+++ b/debian/gedit.prerm
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = remove ]; then
+ update-alternatives --remove gnome-text-editor /usr/bin/gedit || true
+fi
+
+#DEBHELPER#