mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-24 15:21:49 +01:00
Fix verifying IPSW
This commit is contained in:
parent
bb190d3001
commit
127f0d88be
@ -439,7 +439,8 @@ function Downgrade {
|
||||
curl -L $(cat $Firmware/$BuildVer/url) -o tmp/$IPSW.ipsw
|
||||
mv tmp/$IPSW.ipsw .
|
||||
fi
|
||||
if [ ! -e $IPSWCustom.ipsw ]; then
|
||||
[[ $Jailbreak == 1 ]] && [ -e $IPSWCustom.ipsw ] && Verify=0
|
||||
if [[ $Verify != 0 ]]; then
|
||||
Log "Verifying IPSW..."
|
||||
IPSWSHA1=$(cat $Firmware/$BuildVer/sha1sum)
|
||||
IPSWSHA1L=$(shasum $IPSW.ipsw | awk '{print $1}')
|
||||
|
Loading…
Reference in New Issue
Block a user