c/menus.pm: Fix broken symlink test (CVE-2013-1429)

Signed-off-by: Niels Thykier <niels@thykier.net>
coll/doc-base-files: Avoid creating doc-base dir if possible

If the package does not have a doc-base directory (or it is unsafe),
do not create an empty directory to signal this.

Signed-off-by: Niels Thykier <niels@thykier.net>
coll/init.d: Avoid creating init.d dir if possible

If the package does not have a doc-base directory (or it is unsafe),
do not create an empty directory to signal this.

Signed-off-by: Niels Thykier <niels@thykier.net>
coll/scripts: Avoid creating empty "scripts" file

Signed-off-by: Niels Thykier <niels@thykier.net>