diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-05-08 13:11:27 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-05-08 13:11:27 (EDT) |
commit | 16965f02e779c13e600cde09665cfcc7b4ba56d5 (patch) | |
tree | 1528e781c991d31ba289c29822669fbe011e2c6c /xz.pkg/prerm | |
parent | 94020c50f9f4b87934aa3fdbe1f2a6c95187da62 (diff) |
xz: Add maintainer scripts.
Diffstat (limited to 'xz.pkg/prerm')
-rw-r--r-- | xz.pkg/prerm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xz.pkg/prerm b/xz.pkg/prerm new file mode 100644 index 0000000..3008321 --- /dev/null +++ b/xz.pkg/prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "x${1}" = 'xremove' ]; then + for link in unxz xzcat lzma unlzma lzcat; do + update-alternatives --remove ${link} /usr/bin/${link}.tuk + done +fi |