use File::Basename;
use File::Spec;
use C4::Context;
use Koha;
=head1 FUNCTIONS
".",
);
my $version = C4::Context->preference('Version');
my $version = Koha::version;
$version =~ s/([0-9]+\.[0-9]+)\.([0-9]+)\.([0-9]+)/$1$2$3/;
foreach my $dir (@dirs) {
my $abspath = File::Spec->catfile($root, $dir, $filename);
if (-e $abspath) {
-