aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1997-09-29 20:54:51 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1997-09-29 20:54:51 +0000
commitd2d196fc350d73768c258115bcb62866607b0e65 (patch)
tree55c394dbf1e20c7fd8eed3ec9ef99bf9284256ce /initscripts.spec
parentbc2ba42ff06e243bdf9bd9f11990039ec1c03670 (diff)
downloadinitscripts-d2d196fc350d73768c258115bcb62866607b0e65.tar
initscripts-d2d196fc350d73768c258115bcb62866607b0e65.tar.gz
initscripts-d2d196fc350d73768c258115bcb62866607b0e65.tar.bz2
initscripts-d2d196fc350d73768c258115bcb62866607b0e65.tar.xz
initscripts-d2d196fc350d73768c258115bcb62866607b0e65.zip
Make missing directories.v_3_13
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 0cb9eb4f..8a4ef635 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -149,6 +149,13 @@ mkdir -p $RPM_BUILD_ROOT/var/run/netreport
chown root.root $RPM_BUILD_ROOT/var/run/netreport
chmod u=rwx,g=rwx,o=rx $RPM_BUILD_ROOT/var/run/netreport
+for i in 0 1 2 3 4 5 6 ; do
+ file=$RPM_BUILD_ROOT/etc/rc.d/rc$i.d
+ mkdir $file
+ chown root.root $file
+ chmod u=rwx,g=rx,o=rx $file
+done
+
# Can't store symlinks in a CVS archive
ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc0.d/K80random
ln -s ../init.d/random $RPM_BUILD_ROOT/etc/rc.d/rc1.d/S20random