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:-/}
|
1999-10-10 07:13:33 +00:00
|
|
|
echo "You are about to extract the CRYPTO distribution into ${_DEST} - are you SURE"
|
1998-09-22 08:43:10 +00:00
|
|
|
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
|
2000-03-21 19:13:31 +00:00
|
|
|
cat crypto.?? | tar --unlink -xpzf - -C ${_DEST}
|
1999-10-10 07:13:33 +00:00
|
|
|
cat krb4.?? | tar --unlink -xpzf - -C ${_DEST}
|
2000-03-21 19:13:31 +00:00
|
|
|
cat krb5.?? | tar --unlink -xpzf - -C ${_DEST}
|
|
|
|
echo -n "Do you want to install the CRYPTO sources (y/n)? "
|
1996-01-08 06:19:45 +00:00
|
|
|
read ans
|
|
|
|
if [ "$ans" = "y" ]; then
|
1998-09-22 08:43:10 +00:00
|
|
|
cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
|
|
|
cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
2000-03-21 19:13:31 +00:00
|
|
|
cat skrb4.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
|
|
|
cat skrb5.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
|
1996-01-08 06:19:45 +00:00
|
|
|
fi
|
|
|
|
exit 0
|