Use :shescape for --setugids, --setperms

CVS patchset: 1650
CVS date: 1997/05/20 16:19:45
This commit is contained in:
ewt 1997-05-20 16:19:45 +00:00
parent 334697c68f
commit f770c2a33d
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ postuninstall script: %{RPMTAG_POSTUN}\
verify script:\
%{VERIFYSCRIPT}\n'
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES}\n]' \
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES:shescape}\n]' \
--pipe "sed 's/^.../chmod /' | sh"
rpm alias --setugids -q --qf \
'[chown %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' \
'[chown %{FILEUSERNAME:shescape}:%{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \
--pipe "sh"
rpm alias --requires --qf \