summaryrefslogtreecommitdiffstats
path: root/tags/s/symlink-contains-spurious-segments.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/s/symlink-contains-spurious-segments.tag')
-rw-r--r--tags/s/symlink-contains-spurious-segments.tag14
1 files changed, 14 insertions, 0 deletions
diff --git a/tags/s/symlink-contains-spurious-segments.tag b/tags/s/symlink-contains-spurious-segments.tag
new file mode 100644
index 0000000..ab5ec2b
--- /dev/null
+++ b/tags/s/symlink-contains-spurious-segments.tag
@@ -0,0 +1,14 @@
+Tag: symlink-contains-spurious-segments
+Severity: error
+Check: files/symbolic-links
+Explanation: The symbolic link target contains superfluous path segments like
+ <code>..</code> or <code>.</code>. They are not needed and make the link longer
+ than necessary, which goes against Debian policy.
+ .
+ Such segments can also cause unexpected problems in the presence of symlinked
+ directories.
+ .
+ With Debhelper, running dh&lowbar;link after creating the package structure
+ will fix this problem for you.
+See-Also:
+ debian-policy 10.5