mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Update automatic_packages.sh
This commit is contained in:
@@ -108,6 +108,7 @@ eval "$PACKAGES"
|
|||||||
|
|
||||||
# Replace nginx if installed
|
# Replace nginx if installed
|
||||||
if ls /etc/nginx2 1> /dev/null 2>&1; then
|
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
|
mkdir -p /var/log/nginx
|
||||||
touch /var/log/nginx/error.log
|
touch /var/log/nginx/error.log
|
||||||
|
|||||||
Reference in New Issue
Block a user