Merge branch 'dev' of https://github.com/ShirkNeko/SukiSU-Ultra into dev
This commit is contained in:
@@ -39,7 +39,12 @@ perform_cleanup() {
|
|||||||
# Sets up or update KernelSU environment
|
# Sets up or update KernelSU environment
|
||||||
setup_kernelsu() {
|
setup_kernelsu() {
|
||||||
echo "[+] Setting up KernelSU..."
|
echo "[+] Setting up KernelSU..."
|
||||||
test -d "$GKI_ROOT/KernelSU" || git clone https://github.com/ShirkNeko/SukiSU-Ultra KernelSU && echo "[+] Repository cloned."
|
# Clone the repository and rename it to KernelSU
|
||||||
|
if [ ! -d "$GKI_ROOT/KernelSU" ]; then
|
||||||
|
git clone https://github.com/ShirkNeko/SukiSU-Ultra SukiSU-Ultra
|
||||||
|
mv SukiSU-Ultra KernelSU
|
||||||
|
echo "[+] Repository cloned and renamed to KernelSU."
|
||||||
|
fi
|
||||||
cd "$GKI_ROOT/KernelSU"
|
cd "$GKI_ROOT/KernelSU"
|
||||||
git stash && echo "[-] Stashed current changes."
|
git stash && echo "[-] Stashed current changes."
|
||||||
if [ "$(git status | grep -Po 'v\d+(\.\d+)*' | head -n1)" ]; then
|
if [ "$(git status | grep -Po 'v\d+(\.\d+)*' | head -n1)" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user