Browse Source

Update install for Docker

Change sed method on /etc/hosts file, "sed -i" don't work on Docker
pull/10/head
Développeur égaré 10 years ago
committed by GitHub
parent
commit
f3a4ec3392
  1. 3
      scripts/install

3
scripts/install

@ -180,7 +180,8 @@ then
fi
# Clean hosts
sudo sed -i '/#wordpress_yunohost/d' /etc/hosts
sudo sed '/#wordpress_yunohost/d' /etc/hosts > /etc/hosts.tmp
sudo cp -a /etc/hosts.tmp /etc/hosts && rm /etc/hosts.tmp
sudo service nginx reload

Loading…
Cancel
Save