You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
Update UpdateTargetList.sh
This commit is contained in:
@@ -26,7 +26,7 @@ fi
|
||||
|
||||
# Read exclution and addition config
|
||||
EXCLUDE=$(grep -vE '^#|^$' "$MODDIR/EXCLUDE" | tr '\n' '|' | sed 's/|$//')
|
||||
ADDITIONS=$(grep -vE '^#|^$' "$MODDIR/ADDITION")
|
||||
ADDITION=$(grep -vE '^#|^$' "$MODDIR/ADDITION")
|
||||
|
||||
# Create or overwrite the target.txt file
|
||||
echo "- Overwritting target.txt"
|
||||
@@ -42,7 +42,7 @@ sleep 1
|
||||
# Add additional apps to the target file if they are not already present
|
||||
echo "- Adding addition app... "
|
||||
echo " "
|
||||
for app in $ADDITIONS; do
|
||||
for app in $ADDITION; do
|
||||
if ! grep -qx "$app" /data/adb/tricky_store/target.txt; then
|
||||
echo "$app" >> /data/adb/tricky_store/target.txt
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user