2015-01-19 16:11:36 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Installs EZFIO
|
|
|
|
# Mon Jan 12 16:06:44 CET 2015
|
|
|
|
|
|
|
|
BASE="ezfio"
|
|
|
|
URL="https://github.com/LCPQ/${BASE}/archive/master.tar.gz"
|
|
|
|
|
|
|
|
if [[ -z ${QPACKAGE_ROOT} ]]
|
|
|
|
then
|
2015-04-27 17:10:25 +02:00
|
|
|
echo "The QPACKAGE_ROOT environment variable is not set."
|
|
|
|
echo "Please reload the quantum_package.rc file."
|
2015-03-25 23:03:51 +01:00
|
|
|
exit -1
|
2015-01-19 16:11:36 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
cd ${QPACKAGE_ROOT}
|
|
|
|
|
2015-01-19 16:41:21 +01:00
|
|
|
rm -rf -- EZFIO
|
2015-05-28 13:25:16 +02:00
|
|
|
${QPACKAGE_ROOT}/scripts/install/fetch_from_web.py ${URL} ${QPACKAGE_ROOT}/${BASE}.tar.gz
|
2015-01-19 16:11:36 +01:00
|
|
|
tar -zxf ${BASE}.tar.gz && rm ${BASE}.tar.gz ||exit 1
|
|
|
|
mv EZFIO-master EZFIO
|
|
|
|
|
|
|
|
|
|
|
|
|