Clean up code #15

Merged
Yaya48 merged 5 commits from beta into new 2020-08-29 04:27:59 +02:00
Showing only changes of commit 5a0ed6e0f4 - Show all commits

View File

@ -13,12 +13,10 @@ CFVER=1500
elif [[ "${VER%.*}" -ge 13 ]]; then
echo "iOS 13 detected, setting the CFVER to 1600"
CFVER=1600
else
if [[ "${VER%.*.*}" -ge 13 ]]; then
elif [[ "${VER%.*.*}" -ge 13 ]]; then
echo "iOS 13 detected, setting the CFVER to 1600"
CFVER=1600
else
if [[ "${VER%.*.*}" -ge 12 ]]; then
elif [[ "${VER%.*.*}" -ge 12 ]]; then
echo "iOS 12 detected, setting the CFVER to 1500"
CFVER=1500
else