summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/42-remove_tsocks_binary
blob: 3cfde2a4dd23e544beb961861de388e94b732932 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

echo "Removing tsocks"

# Move any /usr/bin/tsocks installed by any package out of the way,
# now (--rename) as well for any future one (hint: apt-get upgrade...).
dpkg-divert --rename --add /usr/bin/tsocks