[SCM] Debian package checker branch, master, updated. 2.5.2-26-g068a799
The following commit has been merged in the master branch:
commit 068a79901ae76c02871280b4e4f440efef711927
Author: Niels Thykier <niels@thykier.net>
Date: Tue Aug 16 19:54:49 2011 +0200
Removed unused piece of code in checks/menus
The code snippet checks if a maintainer script appears to be
removing the "usr-doc" symlink, but nothing ever seems to check
the result.
diff --git a/checks/menus b/checks/menus
index 117e721..8d944e5 100644
--- a/checks/menus
+++ b/checks/menus
@@ -664,9 +664,6 @@ sub check_script {
if (m,ln\s+(?:-\w+)?\s+\"?\.\./share/doc/\S+, ) {
$pres->{'sets-link'} = 1;
}
- if (m,rm\s+(?:-\w+\s+)?\"?/usr/doc/\S+, ) {
- $pres->{'removes-link'} = 1;
- }
} elsif ($interp eq 'perl') {
if (m|symlink\s*\(?\s*[\"\']\.\./share/doc/\.+?[\"\']\s*,|) {
$pres->{'sets-link'} = 1;
--
Debian package checker
Reply to: