Initial release of Maemo 5 port of gnuplot
[gnuplot] / debian / gnuplot-x11.postrm
diff --git a/debian/gnuplot-x11.postrm b/debian/gnuplot-x11.postrm
new file mode 100644 (file)
index 0000000..a34a697
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ] ; then
+        dpkg-divert --remove --package gnuplot-x11 --rename \
+                --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot
+fi
+
+#DEBHELPER#
+
+exit 0