1 2 3 4 5 6 7 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