rpmlint/rpmlint-initvars.patch
Ville Skyttä 0bd46f0df3 - 0.71, confmsg patch and bits from initvars patch applied upstream.
- Filter out Mandriva-specific errors about missing locales-* deps
    (#165457).
- Patch to not warn about non-empty *.bs (in Perl packages).
- Patch to clarify PreReq explanation, make it a warning instead of an
    error.
- Patch to warn about use of BuildPreReq.
2005-08-11 19:32:46 +00:00

12 lines
548 B
Diff

--- InitScriptCheck.py 10 Aug 2005 01:51:34 -0000 1.15
+++ InitScriptCheck.py 10 Aug 2005 13:12:39 -0000
@@ -86,7 +86,7 @@
error=1
if name[0] == '$':
value=Pkg.substitute_shell_vars(name, content)
- if value == basename:
+ if value == basename or value[0] == '$':
error=0
if error:
printError(pkg, 'incoherent-subsys', f, name)