summaryrefslogtreecommitdiffstats
path: root/release/scripts/base-install.sh
blob: 6b32b033a8426a48dd4409b7a9232e94af2564fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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 base 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 bin.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
fi
OpenPOWER on IntegriCloud