Initial import from FreeBSD RELENG_4:
[dragonfly.git] / release / scripts / commerce-install.sh
1 #!/bin/sh
2 #
3 # $FreeBSD: src/release/scripts/commerce-install.sh,v 1.2.6.1 2002/08/08 08:23:53 ru Exp $
4 #
5
6 if [ "`id -u`" != "0" ]; then
7         echo "Sorry, this must be done as root."
8         exit 1
9 fi
10 echo "Extracting commerce tarball into ${DESTDIR}/usr/local"
11 tar --unlink -xpzf commerce.tgz -C ${DESTDIR}/usr/local
12 exit 0