9 lines
147 B
Bash
9 lines
147 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
if [ "`id -u`" != "0" ]; then
|
||
|
echo "Sorry, this must be done as root."
|
||
|
exit 1
|
||
|
fi
|
||
|
cat ports.tgz | tar --unlink -xpzf - -C /usr
|
||
|
exit 0
|