Dpkg::Vendor::Debian: Sync builtin pie arches with gcc-13
[dpkg.git] / debian / bug-script
bloba46342a9947fd8824c4c9425413763b9ebb4d9a2
1 #!/bin/sh
3 for d in /bin /sbin /lib /lib32 /libo32 /libx32 /lib64; do
4 linkname="$(readlink $d)"
5 if [ "$linkname" = "usr$d" ] || [ "$linkname" = "/usr$d" ]; then
6 echo "This system uses merged-usr-via-aliased-dirs, going behind dpkg's" >&3
7 echo "back, breaking its core assumptions. This can cause silent file" >&3
8 echo "overwrites and disappearances, and its general tools misbehavior." >&3
9 echo "See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>." >&3
10 break
12 done