Browse Source

Check prerequisites before install

feature/ldap
Chocobozzz 10 years ago
parent
commit
cbb358c947
  1. 9
      install.sh

9
install.sh

@ -19,6 +19,15 @@ if [ "$#" -ne 3 ]; then
exit exit
fi fi
# Ensure there are the prerequisites
for i in openvpn mysql php bower node unzip wget sed; do
which $i > /dev/null
if [ "$?" -ne 0 ]; then
echo "Miss $i"
exit
fi
done
www=$1 www=$1
user=$2 user=$2
group=$3 group=$3

Loading…
Cancel
Save