summaryrefslogtreecommitdiff
path: root/rpmpopt
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-05-20 16:19:45 +0000
committerewt <devnull@localhost>1997-05-20 16:19:45 +0000
commitf770c2a33da106bf98626a18427d353f8e9f7d4e (patch)
tree834018e87bc61060cd07c3e9580183b29ad973b6 /rpmpopt
parent334697c68fe9008b15ed8172ff871039ac642131 (diff)
downloadrpm-f770c2a33da106bf98626a18427d353f8e9f7d4e.tar.gz
rpm-f770c2a33da106bf98626a18427d353f8e9f7d4e.tar.bz2
rpm-f770c2a33da106bf98626a18427d353f8e9f7d4e.zip
Use :shescape for --setugids, --setperms
CVS patchset: 1650 CVS date: 1997/05/20 16:19:45
Diffstat (limited to 'rpmpopt')
-rw-r--r--rpmpopt4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmpopt b/rpmpopt
index 61f6a11b6..df18ddfe2 100644
--- a/rpmpopt
+++ b/rpmpopt
@@ -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 \