Move os-release

should fully fix 18.04 support (#60)
This commit is contained in:
LukeeGD 2020-10-06 17:12:16 +08:00 committed by GitHub
parent 56fb0ddea2
commit 810ebb2ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ function Main {
echo
if [[ $OSTYPE == "linux-gnu" ]]; then
. /etc/os-release 2>/dev/null
platform="linux"
bspatch="bspatch"
ideviceenterrecovery="ideviceenterrecovery"
@ -555,7 +556,6 @@ function Downgrade {
}
function InstallDependencies {
. /etc/os-release 2>/dev/null
mkdir tmp 2>/dev/null
cd tmp