summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-03-30 19:34:01 +0000
committerjbj <devnull@localhost>1999-03-30 19:34:01 +0000
commit48e8d3521c73671038ad40ccf9d3677e38009d6e (patch)
tree81a9482f3a2f11a4c987461d98d89cc408986475 /macros.in
parentceb687851bc6f83d60e9a2de237a52b3136b19e8 (diff)
downloadrpm-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.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros.in b/macros.in
index 180a0fdfb..bed8bcb16 100644
--- a/macros.in
+++ b/macros.in
@@ -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@