summaryrefslogtreecommitdiffstats
path: root/debian/bug-script
blob: 56d65481895b2864e8c910201de6b48a80b74902 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

for d in /bin /sbin /lib /lib32 /libo32 /libx32 /lib64; do
  if [ "$(readlink $d)" = "usr$d" ]; then
    echo "System tainted due to merged-usr-via-symlinks." >&3
    break
  fi
done