diff --git a/scripts/install/linux_optional_compilation_dependencies.sh b/scripts/install/linux_optional_compilation_dependencies.sh index 1e0f56e1c21..812413cbed6 100755 --- a/scripts/install/linux_optional_compilation_dependencies.sh +++ b/scripts/install/linux_optional_compilation_dependencies.sh @@ -29,4 +29,7 @@ fi script_full_path=$(dirname "$0") $script_full_path/linux_test_dependencies.sh --norecurse $script_full_path/linux_compilation_dependencies.sh -$script_full_path/linux_web_viewer_dependencies.sh + +if [[ -z "$SNAP" ]]; then + $script_full_path/linux_web_viewer_dependencies.sh +fi