Skip to content

Commit

Permalink
Update restore.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Apr 7, 2024
1 parent 5644326 commit c1c9f75
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ set_tool_paths() {
fi
elif [[ -e /etc/debian_version ]]; then
debian_ver=$(cat /etc/debian_version)
if [[ $debian_ver == *"sid" ]]; then
if [[ $debian_ver == *"sid" || $debian_ver == "kali"* ]]; then
debian_ver="sid"
else
debian_ver="$(echo "$debian_ver" | cut -c -2)"
Expand Down Expand Up @@ -2147,9 +2147,7 @@ ipsw_prepare_jailbreak() {
if [[ $ipsw_memory == 1 ]]; then
ExtraArgs+=" -memory"
fi
if [[ $device_target_vers == "3"* || $device_proc == 1 ]]; then
ExtraArgs+=" -ramdiskgrow 10"
fi
ExtraArgs+=" -ramdiskgrow 10"
if [[ $device_use_bb != 0 && $device_type != "$device_disable_bbupdate" ]]; then
ExtraArgs+=" -bbupdate"
elif [[ $device_type == "$device_disable_bbupdate" && $device_type == "iPhone"* ]]; then
Expand Down

0 comments on commit c1c9f75

Please sign in to comment.