Skip to content

Commit f467b95

Browse files
committed
Include space in replacement path
1 parent 3aae7b5 commit f467b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/migrations/02-swag-old-certbot-paths

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
# Migrate existing confs with old paths from /etc/letsencrypt to /config/etc/letsencrypt
55
if [[ ! -f "/config/etc/letsencrypt/02-swag-old-certbot-paths" ]] && ls /config/etc/letsencrypt/renewal/*.conf >/dev/null 2>&1; then
6-
sed -i 's| /etc/letsencrypt|/config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
6+
sed -i 's| /etc/letsencrypt| /config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
77
fi

0 commit comments

Comments
 (0)