slic3r/slic3r-datadir.patch
2013-03-21 17:52:33 +01:00

16 lines
437 B
Diff

Search for icons and such in /usr/share/slic3r.
diff -ru a/lib/Slic3r.pm c/lib/Slic3r.pm
--- a/lib/Slic3r.pm 2013-01-17 15:50:45.000000000 +0100
+++ c/lib/Slic3r.pm 2013-01-22 00:15:56.797243399 +0100
@@ -24,8 +24,7 @@
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;