1 2 3 4 5 6 7
#!/bin/sh if [ "x${1}" = 'xremove' ]; then for link in xz unxz xzcat lzma unlzma lzcat; do update-alternatives --remove ${link} /usr/bin/${link}.tuk done fi