Fix symlink on DESTDIR installation.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9551 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
DJ Lucas 2011-05-23 03:43:35 +00:00
parent 5393dbc1b8
commit 90b457477d

View File

@ -22,7 +22,7 @@ create-dirs:
install -d -m ${DIRMODE} ${DESTDIR}/sbin
install -d -m ${DIRMODE} ${DESTDIR}/lib/lsb
install -d -m ${DIRMODE} ${DESTDIR}/lib/network-services
if [ ${ETCDIR} != /etc ]; then ln -s ${DESTDIR}${ETCDIR}/init.d ${DESTDIR}/etc/init.d; fi
if [ ${ETCDIR} != /etc ]; then ln -s ${ETCDIR}/init.d ${DESTDIR}/etc/init.d; fi
install: create-dirs
install -m ${MODE} etc/init.d/checkfs ${EXTDIR}/init.d/