diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:58:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:58:51 +0000 |
commit | e52abbeea0a0fd87f2df577263fdfcb89da6c1b0 (patch) | |
tree | 27a6f3ded04c521f55558166ee9322076339ca2b /debian/bug-script | |
parent | Adding upstream version 1.21.22. (diff) | |
download | dpkg-e52abbeea0a0fd87f2df577263fdfcb89da6c1b0.tar.xz dpkg-e52abbeea0a0fd87f2df577263fdfcb89da6c1b0.zip |
Adding debian version 1.21.22.debian/1.21.22debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/bug-script | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/bug-script b/debian/bug-script new file mode 100644 index 0000000..a46342a --- /dev/null +++ b/debian/bug-script @@ -0,0 +1,12 @@ +#!/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 "This system uses merged-usr-via-aliased-dirs, going behind dpkg's" >&3 + echo "back, breaking its core assumptions. This can cause silent file" >&3 + echo "overwrites and disappearances, and its general tools misbehavior." >&3 + echo "See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>." >&3 + break + fi +done |