Browse Source

Only run tests optionally

stockholm
Bob Mottram 5 years ago
parent
commit
45da08e2e3
  1. 8
      src/freedombone-addremove

8
src/freedombone-addremove

@ -172,9 +172,11 @@ function install_apps_interactive {
install_apps interactive
}
${PROJECT_NAME}-tests
if [ ! "$?" = "0" ]; then
exit 2
if [[ $1 == "test"* ]]; then
${PROJECT_NAME}-tests
if [ ! "$?" = "0" ]; then
exit 2
fi
fi
detect_installable_apps

Loading…
Cancel
Save