summaryrefslogtreecommitdiffstats
path: root/dialog-ncursesw.pkg/prerm
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-10 10:33:58 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-11 01:06:24 (EST)
commit960bc63bf71108bb91513022eb5d848441f45f66 (patch)
tree317b8901d66da3b86da0f4644584620b44219af0 /dialog-ncursesw.pkg/prerm
parent6ea3071112bc5cfab7dc5bf552e7a912537ff6cf (diff)
update-alternatives /usr/bin/dialog
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