Skip to content

Commit b81bd04

Browse files
authored
Update conditional syntax in install.sh
1 parent 1e9a7b5 commit b81bd04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/artifacts-helper/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ check_packages() {
7070

7171
export DEBIAN_FRONTEND=noninteractive
7272

73-
if [ "${ID}" = "mariner" ] || { [ "${ID}" = "azurelinux" ] && [ "${VERSION_ID}" = "3.0" ]; then
73+
if [[ "${ID}" == "mariner" || ( "${ID}" == "azurelinux" && "${VERSION_ID}" == "3.0" ) ]]; then
7474
tdnf install -y wget ca-certificates
7575
tdnf clean all
7676
else

0 commit comments

Comments
 (0)