mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Update utils.sh
This commit is contained in:
@@ -62,21 +62,6 @@ dl_gh() {
|
|||||||
|
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
# Get patches list:
|
|
||||||
get_patches_key() {
|
|
||||||
excludePatches=""
|
|
||||||
includePatches=""
|
|
||||||
while IFS= read -r line1; do
|
|
||||||
excludePatches+=" -e \"$line1\""
|
|
||||||
done < src/patches/$1/exclude-patches
|
|
||||||
export excludePatches
|
|
||||||
while IFS= read -r line2; do
|
|
||||||
includePatches+=" -i \"$line2\""
|
|
||||||
done < src/patches/$1/include-patches
|
|
||||||
export includePatches
|
|
||||||
}
|
|
||||||
#################################################
|
|
||||||
|
|
||||||
# Get patches list:
|
# Get patches list:
|
||||||
get_patches_key() {
|
get_patches_key() {
|
||||||
excludePatches=""
|
excludePatches=""
|
||||||
@@ -263,4 +248,4 @@ _split_arch() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
#################################################
|
#################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user