summaryrefslogtreecommitdiffstats
path: root/dialog-ncursesw.pkg/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'dialog-ncursesw.pkg/prerm')
-rw-r--r--dialog-ncursesw.pkg/prerm6
1 files changed, 6 insertions, 0 deletions
diff --git a/dialog-ncursesw.pkg/prerm b/dialog-ncursesw.pkg/prerm
new file mode 100644
index 0000000..ab7d26c
--- /dev/null
+++ b/dialog-ncursesw.pkg/prerm
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ x"${1}" = x'remove' ] || [ x"${1}" = x'purge' ] || [ x"${1}" = x'upgrade' ]
+then
+ update-alternatives --remove /usr/bin/dialog /usr/bin/dialog.ncursesw
+fi