1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

Added des to the food for this.

This commit is contained in:
Poul-Henning Kamp 1994-11-10 03:22:27 +00:00
parent 6e876d0d60
commit d67fe71073
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4336

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: extract.sh,v 1.6 1994/11/10 02:47:06 jkh Exp $
# $Id: extract.sh,v 1.7 1994/11/10 02:50:42 jkh Exp $
DDIR=/
@ -19,7 +19,12 @@ for i in *.aa
do
b=`basename $i .aa`
if [ "$b" != bin_tgz ] ; then
if [ "$b" = des_tgz ] ; then
# We cannot replace /sbin/init while it runs
# so move it out of the way for now
mv /sbin/init /sbin/nondes_init
fi
echo "Extracting $b"
cat $b.?? | zcat | tar xf - -C $DDIR
cat $b.?? | zcat | ( cd $DDIR ; tar --unlink -xf - )
fi
done