summaryrefslogtreecommitdiffstats
path: root/tags/d/dir-in-usr-local.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/dir-in-usr-local.tag')
-rw-r--r--tags/d/dir-in-usr-local.tag13
1 files changed, 13 insertions, 0 deletions
diff --git a/tags/d/dir-in-usr-local.tag b/tags/d/dir-in-usr-local.tag
new file mode 100644
index 0000000..ee60f88
--- /dev/null
+++ b/tags/d/dir-in-usr-local.tag
@@ -0,0 +1,13 @@
+Tag: dir-in-usr-local
+Severity: error
+Check: files/hierarchy/standard
+Explanation: The package installs a directory in <code>/usr/local/...</code>. That is
+ not allowed.
+ .
+ If you want to provide an empty directory in <code>/usr/local</code> for
+ convenience of the local system administrator, please follow the rules
+ in the policy manual (section 9.1.2), i.e. create the directories in
+ the <code>postinst</code> maintainer script but do not fail if the operation
+ is unsuccessful (for example, if <code>/usr/local</code> is mounted read-only).
+See-Also:
+ debian-policy 9.1.2