From 4bdbd35e7fd7ccf1c684934399ab3630236d4487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A9veloppeur=20=C3=A9gar=C3=A9?= Date: Sun, 14 Aug 2016 22:42:42 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index dfb63b0..32bbbec 100644 --- a/scripts/install +++ b/scripts/install @@ -180,8 +180,8 @@ then fi # Clean hosts -sudo sed '/#wordpress_yunohost/d' /etc/hosts > /etc/hosts.tmp -sudo cp -a /etc/hosts.tmp /etc/hosts && rm /etc/hosts.tmp +sudo sed '/#wordpress_yunohost/d' /etc/hosts > /tmp/hosts.tmp +sudo cp -a /tmp/hosts.tmp /etc/hosts && rm /tmp/hosts.tmp sudo service nginx reload