mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update automatic_packages.sh
This commit is contained in:
@@ -109,7 +109,7 @@ eval "$PACKAGES"
|
||||
# Replace nginx if installed
|
||||
if ls /etc/nginx2 1> /dev/null 2>&1; then
|
||||
echo "replace nginx"
|
||||
cp -rlf /etc/nginx2 /etc/nginx && rm -r /etc/nginx2
|
||||
cp -rlf /etc/nginx2/ /etc/nginx/ && rm -r /etc/nginx2
|
||||
mkdir -p /var/log/nginx
|
||||
touch /var/log/nginx/error.log
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user