From 9aca367fa5f37b46e4993eab45a86f0d5bdaa894 Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 17 Sep 2023 09:29:13 -0400 Subject: [PATCH] fixing ipsw --- downr1n.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/downr1n.sh b/downr1n.sh index 56b762d..d6ae3be 100755 --- a/downr1n.sh +++ b/downr1n.sh @@ -618,8 +618,8 @@ fi # extract ipsw # ========= - -if [ ! -e "ipsw/*.ipsw" ]; then +# understand my code is more difficult that understand a programing language fr +if [ ! $(ls ipsw/*.ipsw) ]; then echo "YOU DON'T HAVE AN IPSW SO WE ARE GONNA DOWNLOAD IT, THE IPSW WILL BE for $deviceid AND the version $version, DO YOU WANT TO CHANGE THE VERSION (YES) OR (NO)" while true; do read -r answer