mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
b0d5cda0b1
these various collections to install someplace else.
13 lines
337 B
Bash
Executable File
13 lines
337 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
if [ "`id -u`" != "0" ]; then
|
|
echo "Sorry, this must be done as root."
|
|
exit 1
|
|
fi
|
|
echo "You are about to extract the doc distribution into ${DESTDIR:-/} - are you SURE"
|
|
echo -n "you want to do this over your installed system (y/n)? "
|
|
read ans
|
|
if [ "$ans" = "y" ]; then
|
|
cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
|
|
fi
|