]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - release/scripts/des-install.sh
This commit was generated by cvs2svn to compensate for changes in r44930,
[FreeBSD/FreeBSD.git] / release / scripts / des-install.sh
1 #!/bin/sh
2 #
3 if [ "`id -u`" != "0" ]; then
4         echo "Sorry, this must be done as root."
5         exit 1
6 fi
7 _DEST=${DESTDIR:-/}
8 echo "You are about to extract the DES distribution into ${_DEST} - are you SURE"
9 echo "you want to do this over your installed system?  If not, hit ^C now,"
10 echo -n "otherwise hit return to continue. "
11 read junk
12 cat des.?? | tar --unlink -xpzf - -C ${_DEST}
13 cat krb.?? | tar --unlink -xpzf - -C ${_DEST}
14 echo -n "Do you want to install the DES sources (y/n)? "
15 read ans
16 if [ "$ans" = "y" ]; then
17         cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
18         cat skerbero.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
19         cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
20 fi
21 exit 0