fix(install.sh): incorrect condition not copying traefik cert correctly

This commit is contained in:
Nicolas Meienberger 2023-06-28 23:30:12 +02:00
parent 9863155747
commit 043ea6712f

View file

@ -62,7 +62,7 @@ fi
mkdir traefik mkdir traefik
cp -r runtipi-"${LATEST_VERSION}"/traefik/* ./traefik cp -r runtipi-"${LATEST_VERSION}"/traefik/* ./traefik
if [ -d "traefik_old" && -d "traefik_old/tls" ]; then if [ -d "traefik_old" ] && [ -d "traefik_old/tls" ]; then
## move old traefik TLS config to new traefik config ## move old traefik TLS config to new traefik config
cp -r traefik_old/tls traefik cp -r traefik_old/tls traefik
rm -rf traefik_old rm -rf traefik_old