--- toast 2016/01/27 07:55:09 1.487 +++ toast 2016/02/29 00:13:45 1.488 @@ -3,7 +3,7 @@ ############################################################################## # # # This entire file is toast, a program for installing and managing software. # -# Copyright (C) 2003-2010 Jacques Frechet. # +# Copyright (C) 2003-2016 Jacques Frechet. # # This file should also contain version 3 of the GNU General Public License, # # which includes its own copyright notice. # # # @@ -45,7 +45,7 @@ $myversion .= "+" if $5; # if this version may contain changes not in RCS my($myurl) = "http://www.toastball.net/toast/"; my($bugurl) = $myurl . "sendbug"; -my($mycopyright) = "Copyright (C) 2003-2010 Jacques Frechet"; +my($mycopyright) = "Copyright (C) 2003-2016 Jacques Frechet"; my($genby) = "generated by $myname version $myversion [$myurl]"; $myname eq "toast" && $myauthor eq "zaphod" || die; # avoid accidents w/ CVS @@ -4861,6 +4861,16 @@ $name = ${$pkgs[0]}[0]; $name eq ${$pkgs[$_]}[0] or error for 0..$#pkgs; + if(defined($version)) + { + my(@filtered); + for(@pkgs){ + my(undef, $pkg_ver) = @$_; + push(@filtered, $_) if undeftoempty($pkg_ver) eq $version; + } + @pkgs = @filtered if @filtered; + } + say("\n"); print("$name\n"); @@ -8123,7 +8133,7 @@ =head1 COPYRIGHT -This manual is part of B<toast>. Copyright (C) 2003-2010 Jacques Frechet. +This manual is part of B<toast>. Copyright (C) 2003-2016 Jacques Frechet. B<toast> is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the