diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-06-11 18:35:23 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-06-11 18:35:23 (EDT) |
commit | 9a2e89ae2638bb149220806158a1a8cb6586419c (patch) | |
tree | bf80610d2afe85161baf450d4ad6f6700f20798b /bzip2.pkg/postinst | |
parent | 0c58d0405eb546ca8b8a2840eaad2e6f175cfef8 (diff) |
Manage some utilities with update-alternatives.
Diffstat (limited to 'bzip2.pkg/postinst')
-rw-r--r-- | bzip2.pkg/postinst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bzip2.pkg/postinst b/bzip2.pkg/postinst new file mode 100644 index 0000000..0239ea7 --- /dev/null +++ b/bzip2.pkg/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "x${1}" = 'xconfigure' ]; then + for link in bzip2 bunzip2 bzcat; do + update-alternatives --install /usr/bin/${link} ${link} \ + /usr/bin/${link}.bzip2 20 + done +fi |