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