updater: fix delimiter from '|' to '\n'

I can't believe it took THIS long to spot this oversight.
Fortunately the damage is minimised because this only affected NEW files
in an update, not changed files.
pull/784/head
Botspot 3 years ago
parent 962cdfd41c
commit 718a7e95fa

@ -136,7 +136,8 @@ do
if [ ! -f "${DIRECTORY}/${file}" ];then
echo -e "\e[97m${file} does not exist locally.\e[39m Adding to updatable list."
#in this case, add to updatable list
mainupdate="${mainupdate}|${file}"
mainupdate="${mainupdate}
${file}"
elif [ ! -f "${DIRECTORY}/update/pi-apps/${file}" ];then
echo -e "\e[97m${file} only exists locally.\e[39m Will not add to updatable list."
#in this case, do not add to updatable list

Loading…
Cancel
Save