From 88bf2ec7a25dc179ca1aa6d44fb525d14e7dda8a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Dec 2015 11:08:52 +0100 Subject: [PATCH] Automatic install fix test with headers --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 1e7f315..5f0fbaa 100644 --- a/setup.sh +++ b/setup.sh @@ -29,7 +29,7 @@ mysql -e 'drop database if exists oms;' -u root -p${DB_PASSWORD} mysql -e 'create database oms;' -u root -p${DB_PASSWORD} #echo "USE mysql;\nUPDATE user SET password=PASSWORD('123456') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root -curl --connect-timeout 600 --max-time 601 ${WEB_URL}/Admin/Install +curl --connect-timeout 600 --max-time 601 -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -A "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36" ${WEB_URL}/Admin/Install # Downloading tools wget -nc https://phar.phpunit.de/phploc.phar