From d4d9ceeeff21ce56a0d8f3bd378629c105ae0254 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 27 Aug 2024 14:12:57 +0200 Subject: [PATCH] verify/if --- spcd/bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 26aed02..bea2cbc 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -1038,7 +1038,9 @@ spcd_step__ca_update_certificates() { spcd_step__packages_verify_https() { spcd_step "Verify HTTPS" spcd_pvh__path="$(spcd_https_path)" - [ -n "${spcd_pvh__path}" ] && spcd_os_rm "${spcd_pvh__path}" + if [ -n "${spcd_pvh__path}" ]; then + spcd_os_rm "${spcd_pvh__path}" + fi } spcd_step__packages_upgrade_system() {