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