Merge pull request #618 from usmannasir/qtwrk-patch-1

add branch name check
This commit is contained in:
Usman Nasir
2021-05-18 12:41:00 +05:00
committed by GitHub

View File

@@ -73,6 +73,15 @@ Panel_Version=${Temp_Value:12:3}
Panel_Build=${Temp_Value:25:1}
Branch_Name="v${Panel_Version}.${Panel_Build}"
if [[ $Branch_Name = v*.*.* ]] ; then
echo -e "\nBranch name fetched...$Branch_Name"
else
echo -e "\nUnable to fetch Branch name..."
echo -e "\nPlease try again in few moments, if this error still happens, please contact support"
exit
fi
Base_Number="1.9.3"
Total_RAM=$(free -m | awk '/Mem:/ { print $2 }')