This commit is contained in:
Sébastien Lucas 2013-11-28 10:06:31 +01:00
parent fd76478e8f
commit 8caa548ec0

View file

@ -1,13 +1,13 @@
#!/bin/bash #!/usr/bin/env bash
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+\"` PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+\"`
if [[ $PHP_VERSION != "5.5" ]] if [[ $PHP_VERSION != "5.5" ]]
then then
echo "Bad PHP version" echo "Bad PHP version"
exit exit
fi fi
echo "Good PHP version" echo "Good PHP version"
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php