summaryrefslogtreecommitdiffstats
path: root/debian/bug-script
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bug-script')
-rw-r--r--debian/bug-script9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/bug-script b/debian/bug-script
new file mode 100644
index 0000000..5e17070
--- /dev/null
+++ b/debian/bug-script
@@ -0,0 +1,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