1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Merge pull request #6 from aymhce/patch-1

replace sed -i on /etc/hosts by simple sed with cp
This commit is contained in:
monsieur-a 2015-07-05 18:20:31 +02:00
commit d056dca453

View file

@ -103,6 +103,5 @@ then
fi
# Remove temporary entry in /etc/hosts
sudo sed -i '/yunopiwigo/d' /etc/hosts
sudo sed '/yunopiwigo/d' /etc/hosts > /tmp/hosts.tmp
sudo cp /tmp/hosts.tmp /etc/hosts ; sudo rm -f /tmp/hosts.tmp