Fixed issue #23787 install script not working for RHEL7 host
Fixed issue #23787 install script not working for RHEL7 host

Signed-off-by: Ken Cochrane <2db7c22f021a200eef5d8da0e9cb061ad66a72cb@gmail.com>
(cherry picked from commit 0e84474672fb30449028b4f7a678d5ab6a81f102)

denverdino/denverdino.github.io,menglingwei/denverdino.github.io,troy0820/docker.github.io,aduermael/docker.github.io,docker/docker.github.io,BSWANG/denverdino.github.io,denverdino/denverdino.github.io,LuisBosquez/docker.github.io,JimGalasyn/docker.github.io,sanscontext/docker.github.io,denverdino/denverdino.github.io,stainboy/docker,docker/docker.github.io,danix800/docker.github.io,LuisBosquez/docker.github.io,Shopify/docker,thaJeztah/docker.github.io,denverdino/docker.github.io,JimGalasyn/docker.github.io,danix800/docker.github.io,joeuo/docker.github.io,joeuo/docker.github.io,joaofnfernandes/docker.github.io,rillig/docker.github.io,thaJeztah/docker.github.io,danix800/docker.github.io,aduermael/docker.github.io,shubheksha/docker.github.io,rillig/docker.github.io,johnstep/docker.github.io,gdevillele/docker.github.io,shin-/docker.github.io,londoncalling/docker.github.io,joaofnfernandes/docker.github.io,medallia/docker,londoncalling/docker.github.io,sanscontext/docker.github.io,denverdino/denverdino.github.io,denverdino/docker.github.io,londoncalling/docker.github.io,bdwill/docker.github.io,anweiss/docker.github.io,bdwill/docker.github.io,danix800/docker.github.io,gdevillele/docker.github.io,menglingwei/denverdino.github.io,shin-/docker.github.io,docker-zh/docker.github.io,anweiss/docker.github.io,phiroict/docker,Shopify/docker,bdwill/docker.github.io,medallia/docker,joaofnfernandes/docker.github.io,londoncalling/docker.github.io,docker/docker.github.io,LuisBosquez/docker.github.io,JimGalasyn/docker.github.io,BSWANG/denverdino.github.io,stainboy/docker,aduermael/docker.github.io,alexisbellido/docker.github.io,troy0820/docker.github.io,phiroict/docker,jzwlqx/denverdino.github.io,shin-/docker.github.io,docker-zh/docker.github.io,docker/docker.github.io,BSWANG/denverdino.github.io,gdevillele/docker.github.io,menglingwei/denverdino.github.io,LuisBosquez/docker.github.io,johnstep/docker.github.io,alexisbellido/docker.github.io,alexisbellido/docker.github.io,joeuo/docker.github.io,denverdino/denverdino.github.io,johnstep/docker.github.io,BSWANG/denverdino.github.io,menglingwei/denverdino.github.io,johnstep/docker.github.io,alexisbellido/docker.github.io,thaJeztah/docker.github.io,phiroict/docker,Shopify/docker,londoncalling/docker.github.io,docker/docker.github.io,phiroict/docker,shubheksha/docker.github.io,docker-zh/docker.github.io,anweiss/docker.github.io,LuisBosquez/docker.github.io,joeuo/docker.github.io,sanscontext/docker.github.io,docker-zh/docker.github.io,stainboy/docker,bdwill/docker.github.io,medallia/docker,jzwlqx/denverdino.github.io,jzwlqx/denverdino.github.io,denverdino/docker.github.io,anweiss/docker.github.io,docker-zh/docker.github.io,phiroict/docker,sanscontext/docker.github.io,joaofnfernandes/docker.github.io,shubheksha/docker.github.io,shubheksha/docker.github.io,shin-/docker.github.io,jzwlqx/denverdino.github.io,denverdino/docker.github.io,JimGalasyn/docker.github.io,gdevillele/docker.github.io,BSWANG/denverdino.github.io,troy0820/docker.github.io,shubheksha/docker.github.io,sanscontext/docker.github.io,bdwill/docker.github.io,JimGalasyn/docker.github.io,aduermael/docker.github.io,thaJeztah/docker.github.io,medallia/docker,shin-/docker.github.io,rillig/docker.github.io,denverdino/docker.github.io,johnstep/docker.github.io,jzwlqx/denverdino.github.io,troy0820/docker.github.io,joeuo/docker.github.io,joaofnfernandes/docker.github.io,alexisbellido/docker.github.io,menglingwei/denverdino.github.io,anweiss/docker.github.io,gdevillele/docker.github.io,rillig/docker.github.io,thaJeztah/docker.github.io