1 2 3 4 5 6 7
#!/bin/sh if [ "x${1}" = 'xremove' ]; then for link in bzip2 bunzip2 bzcat; do update-alternatives --remove ${link} /usr/bin/${link}.bzip2 done fi