summaryrefslogtreecommitdiffstats
path: root/dialog-ncurses.pkg/prerm
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-11 01:05:15 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-11 01:19:31 (EST)
commit870b39253f95372cfae99570b29145f2e02c6b5c (patch)
treecb8e9c1e7a9355817644ff114790c679c1e02287 /dialog-ncurses.pkg/prerm
parent8bbe3178e12b6d97f1600543964c1512c9a7f7e2 (diff)
dialog-ncurses: New package
Diffstat (limited to 'dialog-ncurses.pkg/prerm')
-rw-r--r--dialog-ncurses.pkg/prerm6
1 files changed, 6 insertions, 0 deletions
diff --git a/dialog-ncurses.pkg/prerm b/dialog-ncurses.pkg/prerm
new file mode 100644
index 0000000..d21b9a4
--- /dev/null
+++ b/dialog-ncurses.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.ncurses
+fi