Merge pull request #1247 from mailpoet/revert-dotdeb

Revert "Use alternative dotdeb mirror" [MAILPOET-1262]
This commit is contained in:
stoletniy
2018-01-25 11:26:50 +03:00
committed by GitHub

View File

@ -7,9 +7,9 @@ function setup {
# install PHP dependencies for WordPress
if [[ $version == "php7" ]] || [[ $version == "php7_multisite" ]]; then
echo "deb http://dotdeb.mirror.iphh.net/ jessie all" | sudo tee -a /etc/apt/sources.list.d/dotdeb.list
echo "deb-src http://dotdeb.mirror.iphh.net/ jessie all" | sudo tee -a /etc/apt/sources.list.d/dotdeb.list
wget -qO - https://mirror.applebred.net/dotdeb.key | sudo apt-key add -
echo "deb http://packages.dotdeb.org jessie all" | sudo tee -a /etc/apt/sources.list.d/dotdeb.list
echo "deb-src http://packages.dotdeb.org jessie all" | sudo tee -a /etc/apt/sources.list.d/dotdeb.list
wget -qO - http://www.dotdeb.org/dotdeb.gpg | sudo apt-key add -
# ref: https://github.com/docker-library/php/pull/542
sudo rm /etc/apt/preferences.d/no-debian-php
sudo apt-get update