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