summaryrefslogtreecommitdiffstats
path: root/e2fsprogs.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs.pkg/postinst')
-rw-r--r--e2fsprogs.pkg/postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/e2fsprogs.pkg/postinst b/e2fsprogs.pkg/postinst
new file mode 100644
index 0000000..85752c7
--- /dev/null
+++ b/e2fsprogs.pkg/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ x"${1}" = x'configure' ]; then
+ while read link; do
+ update-alternatives --install "${link}" "${link##*/}" \
+ "${link}.e2p" 30
+ done </usr/share/e2fsprogs/alternatives
+fi