From 013d3bb8f387b6abda68c2afba3821ef70469531 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 7 Jun 2024 15:25:37 +0200 Subject: [PATCH] || --- cd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd.sh b/cd.sh index 80e40d9..13141fd 100644 --- a/cd.sh +++ b/cd.sh @@ -442,7 +442,7 @@ cd_list_working_directory () { } cd_set_https_verification_off () { - if [ "${CD_CA}" -o "${CD_PM}" = "${CD_PM_APT}" ] ; then + if [ "${CD_CA}" ] || [ "${CD_PM}" = "${CD_PM_APT}" ] ; then cd_step "Set HTTPS verification off" cd_mkdir "$(dirname "${CD_PM_HTTPS_PATH}")" cd_write "${CD_PM_HTTPS_PATH}" "${CD_PM_HTTPS_TEXT}"