summaryrefslogtreecommitdiffstats
path: root/dialog-ncursesw.pkg/postinst
diff options
context:
space:
mode:
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