diff options
author | Bill Nottingham <notting@redhat.com> | 2000-06-27 05:14:25 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-06-27 05:14:25 +0000 |
commit | 4a52be882bd4b8dedcabb8e0043513c86940d78b (patch) | |
tree | e10566c0a0900d3257e0220a47954a7b57329c8e | |
parent | e86e8aebf0a780dea0c57991383aaba91b7cb4a7 (diff) | |
download | initscripts-4a52be882bd4b8dedcabb8e0043513c86940d78b.tar initscripts-4a52be882bd4b8dedcabb8e0043513c86940d78b.tar.gz initscripts-4a52be882bd4b8dedcabb8e0043513c86940d78b.tar.bz2 initscripts-4a52be882bd4b8dedcabb8e0043513c86940d78b.tar.xz initscripts-4a52be882bd4b8dedcabb8e0043513c86940d78b.zip |
tweak %pre
-rw-r--r-- | initscripts.spec | 9 |
1 files 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 <notting@redhat.com> +- tweak %%pre + * Wed Jun 21 2000 Preston Brown <pbrown@redhat.com> - noreplace for adjtime file |