Compare commits

...

4 Commits

Author SHA1 Message Date
LinuxServer-CI
af6a3a2163 Bot Updating Package Versions 2025-01-06 18:11:57 +00:00
Adam
7a8a360746 Merge pull request #530 from linuxserver/3.21-migrations 2025-01-06 18:05:32 +00:00
thespad
f467b9539b Include space in replacement path 2025-01-06 17:51:07 +00:00
thespad
3aae7b50d9 Migrate existing renewal confs with old paths 2025-01-06 16:54:53 +00:00
2 changed files with 12 additions and 5 deletions

View File

@@ -2,8 +2,8 @@ NAME VERSION TYPE
Simple Launcher 1.1.0.14 dotnet (+5 duplicates)
acl-libs 2.3.2-r1 apk
acme 3.0.1 python
alpine-baselayout 3.6.8-r0 apk
alpine-baselayout-data 3.6.8-r0 apk
alpine-baselayout 3.6.8-r1 apk
alpine-baselayout-data 3.6.8-r1 apk
alpine-keys 2.5-r0 apk
alpine-release 3.21.0-r0 apk
aom-libs 3.11.0-r0 apk
@@ -30,8 +30,8 @@ busybox 1.37.0-r9 apk
busybox-binsh 1.37.0-r9 apk
c-ares 1.34.3-r0 apk
c-client 2007f-r15 apk
ca-certificates 20241010-r0 apk
ca-certificates-bundle 20241010-r0 apk
ca-certificates 20241121-r0 apk
ca-certificates-bundle 20241121-r0 apk
cachetools 5.5.0 python
catatonit 0.2.0-r0 apk
certbot 3.0.1 python
@@ -336,7 +336,7 @@ requests-mock 1.12.1 python
rsa 4.9 python
s3transfer 0.10.4 python
scanelf 1.3.8-r1 apk
setuptools 75.6.0 python
setuptools 75.7.0 python
shadow 4.16.0-r1 apk
six 1.17.0 python
skalibs-libs 2.14.3.0-r0 apk

View File

@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# 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
fi