Commit 2e6b81fd authored by Marius Burkard's avatar Marius Burkard
Browse files

- check for available apt-get command

parent 3d44f15b
......@@ -8,6 +8,12 @@ BASEDIR=$(realpath ${BASEDIR}) ;
CURL=$(which curl) ;
WGET=$(which wget) ;
PHP=$(which php) ;
APT=$(which apt-get) ;
if [ "$APT" = "" ] ; then
echo "It seems you are using a distribution that has no apt-get available. This is not supported.";
exit 1 ;
fi
if [ "$CURL" = "" ] ; then
if [ "$WGET" = "" ] ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment