mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 01:27:29 +01:00
incorrect check if nfs-server installed
This commit is contained in:
parent
0f33fc3a55
commit
b4276a5410
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user