diff options
author | ewt <devnull@localhost> | 1997-12-30 19:25:51 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-12-30 19:25:51 +0000 |
commit | 7b53d1ce60fd347aaafe5c1849e28bacd1ef4260 (patch) | |
tree | 3129f3b7f0a40dbe406d5c3b2eba5f3f6aa618c5 /rpmpopt | |
parent | 9122ac746ca4c1393d484f688c889e478eef2c42 (diff) | |
download | librpm-tizen-7b53d1ce60fd347aaafe5c1849e28bacd1ef4260.tar.gz librpm-tizen-7b53d1ce60fd347aaafe5c1849e28bacd1ef4260.tar.bz2 librpm-tizen-7b53d1ce60fd347aaafe5c1849e28bacd1ef4260.zip |
made --setperms not follow symlinks
CVS patchset: 1908
CVS date: 1997/12/30 19:25:51
Diffstat (limited to 'rpmpopt')
-rw-r--r-- | rpmpopt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,8 +20,8 @@ rpm alias --scripts --qf '\ %|VERIFYSCRIPT?{verify script:\n%{VERIFYSCRIPT}\n}|\ ' -rpm alias --setperms -q --qf '[%7.7{FILEMODES:octal} %{FILENAMES:shescape}\n]' \ - --pipe "grep -v \(none\) | sed 's/^.../chmod /' | sh" +rpm alias --setperms -q --qf '[\[ -L %{FILENAMES:shescape} \] || chmod %7.7{FILEMODES:octal} %{FILENAMES:shescape}\n]' \ + --pipe "grep -v \(none\) | sed 's/chmod .../chmod /' | sh" rpm alias --setugids -q --qf \ '[chown %{FILEUSERNAME:shescape}:%{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \ |