fix(install.sh): incorrect condition not copying traefik cert correctly
This commit is contained in:
parent
9863155747
commit
043ea6712f
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ fi
|
|||
mkdir 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
|
||||
cp -r traefik_old/tls traefik
|
||||
rm -rf traefik_old
|
||||
|
|
Loading…
Reference in a new issue