summaryrefslogtreecommitdiffstats
path: root/gettext-tiny.pkg/postinst
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-26 01:05:03 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-26 01:05:03 (EDT)
commitbd7ab6b818eb68e288a08081043ae4e23ada8a10 (patch)
tree39a7c81e53fd8e5fd4113562a904a29817ba1edd /gettext-tiny.pkg/postinst
parent63abf2df52f6707a1576932dd4110c7aa54e5748 (diff)
gettext-tiny: Manage utilities with u-a
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