Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22351/perlmod/Fink

Modified Files:
        PkgVersion.pm 
Log Message:
handle when bzip2path file is not there better

Index: PkgVersion.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/PkgVersion.pm,v
retrieving revision 1.558
retrieving revision 1.559
diff -u -d -r1.558 -r1.559
--- PkgVersion.pm       17 Aug 2006 15:45:49 -0000      1.558
+++ PkgVersion.pm       23 Aug 2006 13:31:20 -0000      1.559
@@ -3097,7 +3097,8 @@
                } elsif ( -e "$basepath/bin/tar" ) {
                        $tarcommand = "$basepath/bin/tar $tarflags 
$permissionflags"; # Use Fink's GNU Tar if available
                }
-               $bzip2 = $config->param_default("Bzip2path", "bzip2");
+               $bzip2 = $config->param("Bzip2path");
+               $bzip2 = 'bzip2' unless (-x $bzip2);
                $unzip = "unzip";
                $gzip = "gzip";
                $cat = "/bin/cat";


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to