3 @@ -27,7 +27,7 @@ use common::sense;
4 my $prefix = "@prefix@";
5 my $exec_prefix = "@exec_prefix@";
6 my $datarootdir = "@datarootdir@";
7 -my $DATADIR = "@datadir@/@PACKAGE@";
8 +my $DATADIR = $ENV{'DELIANTRA_DATADIR'} || "@datadir@/@PACKAGE@";
10 my $CONVERT = "@CONVERT@";
11 my $IDENTIFY = "@IDENTIFY@";