mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-01-18 02:37:16 -05:00
Include space in replacement path
This commit is contained in:
parent
3aae7b50d9
commit
f467b9539b
@ -3,5 +3,5 @@
|
||||
|
||||
# Migrate existing confs with old paths from /etc/letsencrypt to /config/etc/letsencrypt
|
||||
if [[ ! -f "/config/etc/letsencrypt/02-swag-old-certbot-paths" ]] && ls /config/etc/letsencrypt/renewal/*.conf >/dev/null 2>&1; then
|
||||
sed -i 's| /etc/letsencrypt|/config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
|
||||
sed -i 's| /etc/letsencrypt| /config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user