forked from pool/rpmlint
Accepting request 134488 from openSUSE:Factory:Staging:rpm410
- fix one more case of scripts progs changing types OBS-URL: https://build.opensuse.org/request/show/134488 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=136
This commit is contained in:
parent
7dd54c5ded
commit
522c3eb9ee
@ -174,7 +174,7 @@ class SUIDCheck(AbstractCheck.AbstractCheck):
|
||||
'%(file)s is packaged with world writable permissions (0%(mode)o)' % \
|
||||
{ 'file':f, 'mode':mode })
|
||||
|
||||
script = pkg[rpm.RPMTAG_POSTIN] or pkg[rpm.RPMTAG_POSTINPROG]
|
||||
script = pkg[rpm.RPMTAG_POSTIN] or pkg.scriptprog(pkg[rpm.RPMTAG_POSTINPROG])
|
||||
found = False
|
||||
if script:
|
||||
for line in script.split("\n"):
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 15 07:00:29 UTC 2012 - coolo@suse.com
|
||||
|
||||
- fix one more case of scripts progs changing types
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 16:00:07 UTC 2012 - dmueller@suse.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user