1996-01-08 06:19:45 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
if [ "`id -u`" != "0" ]; then
|
|
|
|
echo "Sorry, this must be done as root."
|
|
|
|
exit 1
|
|
|
|
fi
|
1998-09-22 08:43:10 +00:00
|
|
|
_DEST=${DESTDIR:-/}
|
|
|
|
echo "You are about to extract the DES distribution into ${_DEST} - are you SURE"
|
|
|
|
echo "you want to do this over your installed system? If not, hit ^C now,"
|
|
|
|
echo -n "otherwise hit return to continue. "
|
1996-01-08 06:19:45 +00:00
|
|
|
read junk
|
1998-09-22 08:43:10 +00:00
|
|
|
cat des.?? | tar --unlink -xpzf - -C ${_DEST}
|
|
|
|
cat krb.?? | tar --unlink -xpzf - -C ${_DEST}
|
1996-01-08 06:19:45 +00:00
|
|
|
echo -n "Do you want to install the DES sources (y/n)? "
|
|
|
|
read ans
|
|
|
|
if [ "$ans" = "y" ]; then
|
1998-09-22 08:43:10 +00:00
|
|
|
cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
|
|
|
cat skerbero.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
|
|
|
cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
1996-01-08 06:19:45 +00:00
|
|
|
fi
|
|
|
|
exit 0
|