mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-18 17:36:23 +01:00
No need for case here
This commit is contained in:
parent
18e5247216
commit
f15a2b85cd
@ -3812,9 +3812,7 @@ restore_latest() {
|
||||
device_enter_mode Recovery
|
||||
ipsw_extract
|
||||
fi
|
||||
if [[ $device_type == "iPhone1,2" ]]; then
|
||||
case $device_target_vers in
|
||||
4.2.1 | 4.1 )
|
||||
if [[ $device_type == "iPhone1,2" && $device_target_vers == "4"* ]]; then
|
||||
if [[ $1 == "custom" ]]; then
|
||||
log "Sending s5l8900xall..."
|
||||
$irecovery -f "$ipsw_custom/Firmware/dfu/WTF.s5l8900xall.RELEASE.dfu"
|
||||
@ -3825,8 +3823,6 @@ restore_latest() {
|
||||
else
|
||||
ExtraArgs="-e"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [[ $debug_mode == 1 ]]; then
|
||||
ExtraArgs+="d"
|
||||
|
Loading…
x
Reference in New Issue
Block a user