-eq vs eq

This commit is contained in:
Trevor Batley 2023-09-04 21:42:42 +10:00
parent d022d08ca9
commit c6ca267cfd

View File

@ -66,7 +66,7 @@ sudo -u kojiadmin koji add-host-to-channel "$KOJI_BUILD_FQDN" createrepo
# A note on capacity
sudo -u kojiadmin koji edit-host --capacity="$KOJID_CAPACITY" "$KOJI_BUILD_FQDN"
# check if local install or remote
if [ $KOJI_BUILD_FQDN eq $KOJI_HUB_FQDN ] ; then
if [ $KOJI_BUILD_FQDN -eq $KOJI_HUB_FQDN ] ; then
# deploy locally
echo "All-in-one: Hub will now be a build server as well"
if [ ! -f $SCRIPT_DIR/koji-deploy-builder.sh ] ; then