mirror of
				https://src.koozali.org/infra/smeserver-koji.git
				synced 2025-11-03 15:51:27 +01:00 
			
		
		
		
	incorrect check if nfs-server installed
This commit is contained in:
		@@ -77,7 +77,7 @@ if [ $KOJI_BUILD_FQDN eq $KOJI_HUB_FQDN ] ; then
 | 
				
			|||||||
else
 | 
					else
 | 
				
			||||||
    ## On the HUB
 | 
					    ## On the HUB
 | 
				
			||||||
    # check if nfs has been installed on the hub (only need to install once) 
 | 
					    # 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
 | 
					        # 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
 | 
					        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
 | 
					        chmod o+x $SCRIPT_DIR/koji-deploy-nfs-server.sh
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user