mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-24 00:49:17 +01:00
Small update for install
This commit is contained in:
parent
8937e5290e
commit
9040db1fca
@ -91,9 +91,6 @@ function Main {
|
|||||||
|
|
||||||
if [[ $1 == Install ]] || [ ! $(which $irecoverychk) ] || [ ! $(which $ideviceinfo) ] ||
|
if [[ $1 == Install ]] || [ ! $(which $irecoverychk) ] || [ ! $(which $ideviceinfo) ] ||
|
||||||
[ ! $(which git) ] || [ ! $(which $bspatch) ] || [ ! $(which $python) ]; then
|
[ ! $(which git) ] || [ ! $(which $bspatch) ] || [ ! $(which $python) ]; then
|
||||||
cd resources
|
|
||||||
rm -rf firmware ipwndfu libimobiledevice_$platform libirecovery
|
|
||||||
cd ..
|
|
||||||
InstallDependencies
|
InstallDependencies
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -585,7 +582,9 @@ function Downgrade {
|
|||||||
|
|
||||||
function InstallDependencies {
|
function InstallDependencies {
|
||||||
mkdir tmp 2>/dev/null
|
mkdir tmp 2>/dev/null
|
||||||
cd tmp
|
cd resources
|
||||||
|
rm -rf firmware ipwndfu lib/* libimobiledevice_$platform libirecovery
|
||||||
|
cd ../tmp
|
||||||
|
|
||||||
Log "Installing dependencies..."
|
Log "Installing dependencies..."
|
||||||
if [[ $ID == "arch" ]] || [[ $ID_LIKE == "arch" ]]; then
|
if [[ $ID == "arch" ]] || [[ $ID_LIKE == "arch" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user