Skip to content

Commit

Permalink
Include space in replacement path
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jan 6, 2025
1 parent 3aae7b5 commit f467b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/migrations/02-swag-old-certbot-paths
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f467b95

Please sign in to comment.