Fix some things here

shouldve shellchecked before commit, oops
This commit is contained in:
LukeZGD 2024-02-07 22:34:07 +08:00
parent a9f136a579
commit 90e03b6d77

View File

@ -1750,12 +1750,12 @@ ipsw_preference_set() {
case $device_type in case $device_type in
iPhone2,1 | iPod2,1 ) ipsw_canmemory=1;; iPhone2,1 | iPod2,1 ) ipsw_canmemory=1;;
iPad2,[67] | iPad3,[2356] ) ipsw_canmemory=1;;
iPhone3,1 | iPad1,1 | iPad2* | iPod[34],1 ) iPhone3,1 | iPad1,1 | iPad2* | iPod[34],1 )
case $device_target_vers in case $device_target_vers in
[34]* ) ipsw_canmemory=1;; [34]* ) ipsw_canmemory=1;;
esac esac
;; ;;
iPad2,[67] | iPad3,[2356] ) ipsw_canmemory=1;;
esac esac
if [[ $ipsw_jailbreak == 1 || $device_type == "$device_disable_bbupdate" || if [[ $ipsw_jailbreak == 1 || $device_type == "$device_disable_bbupdate" ||
$device_target_powder == 1 || $device_target_tethered == 1 || $device_target_powder == 1 || $device_target_tethered == 1 ||
@ -2565,7 +2565,7 @@ ipsw_prepare_32bit() {
local JBFiles=() local JBFiles=()
local nskip local nskip
case $device_type in case $device_type in
iPad2,[67] | iPad3,[2356] | $device_disable_bbupdate ) nskip=1;; iPad2,[67] | iPad3,[2356] | "$device_disable_bbupdate" ) nskip=1;;
esac esac
if [[ $device_target_vers == "3"* || $device_target_vers == "4"* ]]; then if [[ $device_target_vers == "3"* || $device_target_vers == "4"* ]]; then
ipsw_prepare_jailbreak ipsw_prepare_jailbreak