remove (none) entries during --setperms, --setugids
CVS patchset: 1651 CVS date: 1997/05/20 16:21:17
This commit is contained in:
parent
f770c2a33d
commit
8f19c5cf59
4
rpmpopt
4
rpmpopt
|
@ -10,11 +10,11 @@ verify script:\
|
|||
%{VERIFYSCRIPT}\n'
|
||||
|
||||
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES:shescape}\n]' \
|
||||
--pipe "sed 's/^.../chmod /' | sh"
|
||||
--pipe "grep -v \(none\) | sed 's/^.../chmod /' | sh"
|
||||
|
||||
rpm alias --setugids -q --qf \
|
||||
'[chown %{FILEUSERNAME:shescape}:%{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \
|
||||
--pipe "sh"
|
||||
--pipe "grep -v \(none\) | sh"
|
||||
|
||||
rpm alias --requires --qf \
|
||||
"[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]"
|
||||
|
|
Loading…
Reference in New Issue