summaryrefslogtreecommitdiffstats
path: root/dialog-ncurses.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'dialog-ncurses.pkg/postinst')
-rw-r--r--dialog-ncurses.pkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/dialog-ncurses.pkg/postinst b/dialog-ncurses.pkg/postinst
new file mode 100644
index 0000000..734e4bf
--- /dev/null
+++ b/dialog-ncurses.pkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ update-alternatives --install /usr/bin/dialog dialog \
+ /usr/bin/dialog.ncurses 20
+fi