INSTALL: Fixed GITACTIONS check for null (#2214)

This commit is contained in:
Isaac Powell
2021-10-28 15:35:10 +10:00
committed by GitHub
parent 541933a45f
commit 2794bc3cf4

View File

@@ -101,7 +101,6 @@ install_linux () {
if [ -z "${Distro}" ] ; then
fatal "Unable to locate installer for your ${OS} distribution"
fi
readonly Distro
info "OS Distribution: ${Distro}"
info "Installing ${Distro} prerequisite packages..."
@@ -276,7 +275,7 @@ main () {
echo "#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#"
echo
if $GITACTIONS
if [ ! -z ${GITACTIONS:-} ];
then
info "Skipping: Running on Github Actions"
else