churchyard / rpms / slic3r

Forked from rpms/slic3r 5 years ago
Clone
Blob Blame History Raw
diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm
index d317f2e..3ff1f6d 100644
--- a/lib/Slic3r.pm
+++ b/lib/Slic3r.pm
@@ -25,11 +25,7 @@ BEGIN {
     $have_threads = 0 if $Moo::VERSION == 1.003000;
 }
 
-warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n"
-    if $^V >= v5.16;
-
-use FindBin;
-our $var = "$FindBin::Bin/var";
+our $var = "/usr/share/slic3r";
 
 use Encode;
 use Encode::Locale;