Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 1995 15:02:29 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        jmb@kryten.atinc.com, rgrimes@GndRsh.aac.dev.com
Cc:        current@freebsd.org
Subject:   Re: -stable: *** Error code  ONLY one
Message-ID:  <199509140502.PAA09329@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>   beforeinstall:
>> +       rm -f ${DESTDIR}/etc/rmt
>>         -ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
>>   
>>   .include <bsd.prog.mk>
>> 

>Correct method:

>	if [ ! -e ${DESTDIR}/etc/rmt]; then		\
>		ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt	\
>	fi

>It is not nice for make world to touch things in /etc, no matter what
>it is.  The unsilent ignoreing of the error above was a quick hack
>by some one who did not bother to do it correctly.

Really correct method:

	# -ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt

`make install' in /usr/src doesn't install /etc/rc so why should it
install /etc/rmt?

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509140502.PAA09329>