diff options
author | jbj <devnull@localhost> | 1999-03-30 19:34:01 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-03-30 19:34:01 +0000 |
commit | 48e8d3521c73671038ad40ccf9d3677e38009d6e (patch) | |
tree | 81a9482f3a2f11a4c987461d98d89cc408986475 /macros.in | |
parent | ceb687851bc6f83d60e9a2de237a52b3136b19e8 (diff) | |
download | rpm-48e8d3521c73671038ad40ccf9d3677e38009d6e.tar.gz |
Restore "chmod -R ." as default.
CVS patchset: 2925
CVS date: 1999/03/30 19:34:01
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# $Id: macros.in,v 1.19 1999/03/28 00:47:43 jbj Exp $ +# $Id: macros.in,v 1.20 1999/03/30 19:34:01 jbj Exp $ #============================================================================== # Macro naming conventions (preliminary): # @@ -56,8 +56,8 @@ %_defaultdocdir %{_usr}/doc # # XXX fixowner, fixgroup, and fixperms are run at the end of hardcoded setup -#%_fixowner chown -R root -#%_fixgroup chgrp -R @ROOT_GROUP@ +%_fixowner [ `id -u` = '0' ] && chown -R root +%_fixgroup [ `id -u` = '0' ] && chgrp -R @ROOT_GROUP@ %_fixperms chmod -R @FIXPERMS@ # %_gzipbin @GZIPBIN@ |