Setup - Make sure install completes properly

This commit is contained in:
Mike Reeves
2019-04-08 20:46:41 -04:00
parent 709b03c32f
commit 30d6de90ae

View File

@@ -1897,13 +1897,13 @@ if (whiptail_you_sure); then
} |whiptail --title "Hybrid Hunter Install" --gauge "Please wait while installing" 6 60 0
GOODSETUP=$(tail -10 sosetup.log | grep Failed | awk '{ print $2}')
if [ $OS == 'centos' ]; then
if [ $GOODSETUP == '1' ]; then
if [[ $GOODSETUP == '1' ]]; then
whiptail_setup_complete
else
whiptail_setup_failed
fi
else
if [ $GOODSETUP == '0' ]; then
if [[ $GOODSETUP == '0' ]]; then
whiptail_setup_complete
else
whiptail_setup_failed