Update procursus-migration.sh

This commit is contained in:
Yaya4 2020-08-29 03:57:26 +02:00 committed by GitHub
parent 4029563dbb
commit 5a0ed6e0f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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