Closed ashemsay closed 4 years ago
I noticed that with the current check the last app of the list given during installation was not being backed up.
Indeed, if the list looks like "app1,app2,app3", the check [[ "$apps" = *"$app,"* ]] will match app1 and app2 but not app3.
[[ "$apps" = *"$app,"* ]]
What I suggest fixes this issue, we split the list and check each element independently.
I noticed that with the current check the last app of the list given during installation was not being backed up.
Indeed, if the list looks like "app1,app2,app3", the check
[[ "$apps" = *"$app,"* ]]
will match app1 and app2 but not app3.What I suggest fixes this issue, we split the list and check each element independently.