From f467b9539b7495302d90279b633969d99e5dda17 Mon Sep 17 00:00:00 2001 From: thespad Date: Mon, 6 Jan 2025 17:51:07 +0000 Subject: [PATCH] Include space in replacement path --- root/migrations/02-swag-old-certbot-paths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/migrations/02-swag-old-certbot-paths b/root/migrations/02-swag-old-certbot-paths index c5a594d..20a2a1b 100755 --- a/root/migrations/02-swag-old-certbot-paths +++ b/root/migrations/02-swag-old-certbot-paths @@ -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