Change the logic used for enabling version checks so that it's compatible with the new packaging method

This commit is contained in:
Alessandro Ranellucci 2017-03-17 16:44:09 +01:00
parent a1c7b65741
commit 33059e18d7

View File

@ -297,7 +297,7 @@ sub have_version_check {
my ($self) = @_;
# return an explicit 0
return ($Slic3r::have_threads && $Slic3r::build && $have_LWP) || 0;
return ($Slic3r::have_threads && $Slic3r::VERSION !~ /-dev$/ && $have_LWP) || 0;
}
sub check_version {