summaryrefslogtreecommitdiffstats
path: root/dialog-ncursesw.pkg/postinst
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/postinst
parent6ea3071112bc5cfab7dc5bf552e7a912537ff6cf (diff)
update-alternatives /usr/bin/dialog
Diffstat (limited to 'dialog-ncursesw.pkg/postinst')
-rw-r--r--dialog-ncursesw.pkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/dialog-ncursesw.pkg/postinst b/dialog-ncursesw.pkg/postinst
new file mode 100644
index 0000000..ab6650c
--- /dev/null
+++ b/dialog-ncursesw.pkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ update-alternatives --install /usr/bin/dialog dialog \
+ /usr/bin/dialog.ncursesw 30
+fi