freebsd-dev/release/scripts/commerce-install.sh
Jordan K. Hubbard b0d5cda0b1 Allow the use of ${DESTDIR} in the enviroment to optionally get
these various collections to install someplace else.
1998-09-22 08:43:10 +00:00

10 lines
219 B
Bash
Executable File

#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
echo "Extracting commerce tarball into ${DESTDIR}/usr/local"
tar --unlink -xpzf commerce.tgz -C ${DESTDIR}/usr/local
exit 0