diff --git a/src/freedombone-addremove b/src/freedombone-addremove index 6ed99fa3..d63594b5 100755 --- a/src/freedombone-addremove +++ b/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