fixup manager
This commit is contained in:
@@ -36,10 +36,10 @@ select_variant()
|
||||
{
|
||||
LINK=""; ARCH=""; VARIANT=""
|
||||
|
||||
if getprop ro.product.cpu.abi | grep "arm64-v8a" &>/dev/null; then ARCH="arm64-v8a";
|
||||
if getprop ro.product.cpu.abi | grep "arm64-v8a" &>/dev/null; then ARCH="arm64-v8a"
|
||||
else ARCH="armeabi-v7a"
|
||||
fi
|
||||
grep "static" <<< $1 &>/dev/null && VARIANT="static-"
|
||||
if grep "static" <<< $1 &>/dev/null; then VARIANT="static-"; fi
|
||||
|
||||
LINK="https://github.com/ShawkTeam/pmt-renovated/releases/download/${RELEASE}/pmt-${VARIANT}${ARCH}.zip"
|
||||
}
|
||||
@@ -104,7 +104,7 @@ case $1 in
|
||||
"install")
|
||||
is_installed
|
||||
checks
|
||||
select_variant $(grep "static" <<< $2 &>/dev/null && echo static)
|
||||
select_variant $(grep "static" <<< $2 &>/dev/null && command echo static)
|
||||
download
|
||||
setup
|
||||
;;
|
||||
@@ -114,7 +114,7 @@ case $1 in
|
||||
"reinstall")
|
||||
uninstall
|
||||
checks
|
||||
select_variant $(grep "static" <<< $2 &>/dev/null && echo static)
|
||||
select_variant $(grep "static" <<< $2 &>/dev/null && command echo static)
|
||||
download
|
||||
setup
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user