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