diff --git a/koji-setup/koji-add-builder.sh b/koji-setup/koji-add-builder.sh index 7a28718..67aa2eb 100644 --- a/koji-setup/koji-add-builder.sh +++ b/koji-setup/koji-add-builder.sh @@ -77,7 +77,7 @@ if [ $KOJI_BUILD_FQDN eq $KOJI_HUB_FQDN ] ; then else ## On the HUB # check if nfs has been installed on the hub (only need to install once) - if [ ! "dnf list installed | grep nfs-server" ] ; then + if [ -z $(dnf list installed | grep nfs-server) ] ; then # add nfs share for koji files direcory to hub curl $SILENT $SCRIPT_GIT/koji-deploy-nfs-server.sh > $SCRIPT_DIR/koji-deploy-nfs-server.sh chmod o+x $SCRIPT_DIR/koji-deploy-nfs-server.sh