remove (none) entries during --setperms, --setugids

CVS patchset: 1651
CVS date: 1997/05/20 16:21:17
This commit is contained in:
ewt 1997-05-20 16:21:17 +00:00
parent f770c2a33d
commit 8f19c5cf59
1 changed files with 2 additions and 2 deletions

View File

@ -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]"