Update checkLabels.sh

Need `INSTAL=force` and `IGNORE_APP_STORE_APPS=yes` to be able test any title on any system.
This commit is contained in:
Søren Theilgaard
2022-01-12 12:53:07 +01:00
parent c8071a2a63
commit da21ea8582

View File

@@ -219,7 +219,7 @@ for label in $allLabels; do
if [[ $labelError != 0 ]]; then
echo "${RED}########## ERROR in label: $label${NC}"
echo "Testing using Installomator"
exit_status=$( . $repo_dir/assemble.sh $label DEBUG=2 INSTALL=force BLOCKING_PROCESS_ACTION=ignore | grep exit | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' )
exit_status=$( . $repo_dir/assemble.sh $label DEBUG=2 INSTALL=force IGNORE_APP_STORE_APPS=yes BLOCKING_PROCESS_ACTION=ignore | grep exit | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' )
if [[ ${exit_status} -eq 0 ]] ; then
echo "${GREEN}$label works fine!${NC}"
#errorLabels=("${(@)errorLabels:#$errorLabel}")