mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-03 23:43:40 +02:00
updater.sh improve updater_userjs loop
This commit is contained in:
parent
d6401a3f31
commit
4e8291d2c7
1 changed files with 4 additions and 5 deletions
|
@ -309,11 +309,10 @@ update_userjs () {
|
||||||
cp user.js userjs_diffs/past_user.js
|
cp user.js userjs_diffs/past_user.js
|
||||||
fi
|
fi
|
||||||
backup_file user.js
|
backup_file user.js
|
||||||
if [ "$OVERRIDE" != "none" ]; then
|
if [ "$OVERRIDE" != "none" ]; then
|
||||||
IFS=',' read -ra FILES <<< "$OVERRIDE"
|
while IFS=',' read -ra FILE; do
|
||||||
for i in "${FILES[@]}"; do
|
add_override "$FILE"
|
||||||
add_override "$i"
|
done <<< "$OVERRIDE"
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue