Bump version and update Changes
[zeal.git] / lib / Zeal / Feed.pm
index b4bbc521437d6649a1e36e28b8f4ccebc7eb07dd..6c1ebc2416b08defc71d2eb1f9ba559d6d1996d8 100644 (file)
@@ -5,7 +5,7 @@ use strict;
 use warnings;
 use re '/s';
 
-our $VERSION = '0.001';
+our $VERSION = '0.001001';
 
 use parent qw/Class::Accessor::Fast/;
 __PACKAGE__->mk_ro_accessors(qw/version/);
@@ -62,6 +62,11 @@ sub _unpack_tar_to_dir {
        my $oldwd = getcwd;
        chdir $dir;
        my $tar = which 'tar' or which 'gtar';
+
+       # uncoverable branch true
+       # uncoverable condition false
+       local $ENV{ZEAL_USE_INTERNAL_TAR} = 1 if $file =~ /gz$|bz2$/ && $^O eq 'solaris';
+
        if ($tar && !$ENV{ZEAL_USE_INTERNAL_TAR}) {
                my $arg = '-xf';
                $arg = '-xzf' if $file =~ /[.]t?gz$/;
This page took 0.009442 seconds and 4 git commands to generate.