From 4a52be882bd4b8dedcabb8e0043513c86940d78b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 27 Jun 2000 05:14:25 +0000 Subject: tweak %pre --- initscripts.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index 688d7363..fb6c01d3 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -66,12 +66,8 @@ touch $RPM_BUILD_ROOT/var/log/wtmp %pre /usr/sbin/groupadd -g 22 -r -f utmp -if [ -d /etc/rc.d -a -d /etc/init.d ]; then - echo "can't move /etc/rc.d/init.d -> /etc/init.d - bailing" - exit 1 -fi if [ -d /etc/rc.d ]; then - mv -f /etc/rc.d/* /etc && rm -rf /etc/rc.d && ln -snf . /etc/rc.d + cp -af /etc/rc.d/* /etc && rm -rf /etc/rc.d && ln -snf . /etc/rc.d fi %post @@ -223,6 +219,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Mon Jun 26 2000 Bill Nottingham +- tweak %%pre + * Wed Jun 21 2000 Preston Brown - noreplace for adjtime file -- cgit v1.2.1