Skip to content

Commit

Permalink
Merge pull request openshift#1676 from jlebon/pr/fix-conditional
Browse files Browse the repository at this point in the history
NO-JIRA: packages-openshift: fix bash conditional syntax
  • Loading branch information
openshift-merge-bot[bot] authored Dec 10, 2024
2 parents 7b1f095 + d61fbcf commit 6e2286d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ postprocess:
fi
# in the el-only variants, we already have CoreOS in the NAME, so don't
# re-add it when building the node image
if [ $NAME != *CoreOS* ]; then
NAME=$NAME CoreOS
if [[ $NAME != *CoreOS* ]]; then
NAME="$NAME CoreOS"
fi
cat > /etc/motd <<EOF
$NAME $OSTREE_VERSION
Expand Down

0 comments on commit 6e2286d

Please sign in to comment.