summaryrefslogtreecommitdiffstats
path: root/gettext-tiny.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tiny.pkg/postinst')
-rw-r--r--gettext-tiny.pkg/postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/gettext-tiny.pkg/postinst b/gettext-tiny.pkg/postinst
new file mode 100644
index 0000000..b13ccb1
--- /dev/null
+++ b/gettext-tiny.pkg/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ for link in autopoint msgfmt msgmerge xgettext; do
+ update-alternatives --install "/usr/bin/${link}" "${link}" \
+ "/usr/bin/${link}.tiny" 10
+ done
+fi