CC-2758: Make airtime-install script Debian/Ubuntu compatible

-cleanup
This commit is contained in:
Martin Konecny 2011-11-01 22:43:12 -04:00
parent caf8ce9bbf
commit 38a0f8697a
16 changed files with 8 additions and 523 deletions

View file

@ -1,19 +0,0 @@
#!/bin/bash -e
#-e Causes bash script to exit if any of the installers
#return with a non-zero return value.
if [ `whoami` != 'root' ]; then
echo "Please run as root user."
exit 1
fi
# Absolute path to this script, e.g. /home/user/bin/foo.sh
SCRIPT=`readlink -f $0`
# Absolute path this script is in, thus /home/user/bin
SCRIPTPATH=`dirname $SCRIPT`
BIN_DIR=/usr/lib/airtime/api_clients
#copy api_client files
cp -R $SCRIPTPATH/../../api_clients $BIN_DIR