Skip to content

Commit ba32440

Browse files
committed
revise removal of ap from device_model
for #932
1 parent 3d7ad1d commit ba32440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ device_get_info() {
12561256
fi
12571257

12581258
device_model="$(echo $device_model | tr '[:upper:]' '[:lower:]')"
1259-
device_model="${device_model%??}" # remove "ap" from the end
1259+
device_model="${device_model%ap}" # remove "ap" from the end
12601260
# device_model fallback/failsafe (this will be up to checkm8 devices only)
12611261
case $device_model in
12621262
k48 ) device_type="iPad1,1";;

0 commit comments

Comments
 (0)