Add install script for doc, make bin install more intelligent.
This commit is contained in:
parent
628257e0b0
commit
6ef18d7ac5
@ -5,6 +5,8 @@ if [ "`id -u`" != "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
echo "You are about to extract the base distribution into / - are you SURE"
|
||||
echo "you want to do this over your installed system? If not, hit ^C now!"
|
||||
read junk
|
||||
cat bin.?? | tar --unlink -xpzf - -C /
|
||||
echo -n "you want to do this over your installed system (y/n)? "
|
||||
read ans
|
||||
if [ "$ans" = "y" ]; then
|
||||
cat bin.?? | tar --unlink -xpzf - -C /
|
||||
fi
|
||||
|
@ -5,6 +5,8 @@ if [ "`id -u`" != "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
echo "You are about to extract the base distribution into / - are you SURE"
|
||||
echo "you want to do this over your installed system? If not, hit ^C now!"
|
||||
read junk
|
||||
cat bin.?? | tar --unlink -xpzf - -C /
|
||||
echo -n "you want to do this over your installed system (y/n)? "
|
||||
read ans
|
||||
if [ "$ans" = "y" ]; then
|
||||
cat bin.?? | tar --unlink -xpzf - -C /
|
||||
fi
|
||||
|
12
release/scripts/doc-install.sh
Executable file
12
release/scripts/doc-install.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/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 / - 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 /
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user