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

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