make sure that DOCKER_SOCKET_PROXY_ENABLED is actually removed in update-yaml.sh

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-24 17:36:39 +02:00
parent 5893fdd03b
commit 46105d00bb

View file

@ -36,9 +36,7 @@ sed -i 's|- source: |- |' containers.yml
sed -i 's|- ip_binding: |- |' containers.yml
sed -i '/AIO_TOKEN/d' containers.yml
sed -i '/AIO_URL/d' containers.yml
sed -i '/AIO_TOKEN/d' sample.conf
sed -i '/AIO_URL/d' sample.conf
sed -i '/DOCKER_SOCKET_PROXY_ENABLED/d' containers.yml
TCP="$(grep -oP '[%A-Z0-9_]+/tcp' containers.yml | sort -u)"
mapfile -t TCP <<< "$TCP"
@ -67,7 +65,6 @@ do
sed -i "s|$variable|\${$sole_variable}|g" containers.yml
done
sed -i '/DOCKER_SOCKET_PROXY_ENABLED/d' sample.conf
sed -i 's|_ENABLED=|_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically.|' sample.conf
sed -i 's|CLAMAV_ENABLED=no.*|CLAMAV_ENABLED="no" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. Note: arm64 has no clamav support|' sample.conf
sed -i 's|TALK_ENABLED=no|TALK_ENABLED="yes"|' sample.conf