A warning that the directory already exists would be more favorable for me, 
with a 'continue? <enter> for "yes"' input option. With something like a 
kernel source directory you may want to save the .config file before over 
writting the directory.

robert

On Monday August 6 2007 10:03:48 am Jeremy Huntwork wrote:
> [ -d ${DIRECTORY} ] && rm -rf ${DIRECTORY}
> tar -xf ${PACKAGES}/${CURRENT}
> echo "${DIRECTORY}"
>
> Then use unpack instead of calling tar directly.
>
> --
> JH


Attachment: pgpW4JmT78KH8.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to