Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.133.153.110
Current Path : /var/lib/dpkg/info/ |
| Current File : //var/lib/dpkg/info/xz-utils.postinst |
#!/bin/sh
set -e
slave () {
dir=$1 filename=$2 target=$3
echo "--slave $dir/$filename $filename $dir/$target"
}
update-alternatives --install /usr/bin/lzma lzma /usr/bin/xz 20 $(
slave /usr/share/man/man1 lzma.1.gz xz.1.gz
slave /usr/bin unlzma unxz
slave /usr/share/man/man1 unlzma.1.gz unxz.1.gz
for util in cat more less diff cmp grep egrep fgrep
do
slave /usr/bin lz$util xz$util
slave /usr/share/man/man1 lz$util.1.gz xz$util.1.gz
done
)
|