X-Git-Url: https://git.distorted.org.uk/~mdw/sw-tools/blobdiff_plain/961ce1c2fa0e71e5ffc0c16a1d4fa58802a36a1c..9796a7877cd1e7f6908c678e71b8fea6045ba0e7:/perl/sw.in diff --git a/perl/sw.in b/perl/sw.in index 854be1f..bc189e4 100644 --- a/perl/sw.in +++ b/perl/sw.in @@ -1,7 +1,7 @@ #! @PERL@ # -*-perl-*- # -# $Id: sw.in,v 1.1 1999/07/30 18:46:38 mdw Exp $ +# $Id: sw.in,v 1.3 2004/04/08 01:52:19 mdw Exp $ # # CGI interface for software installations # @@ -26,13 +26,6 @@ # along with sw-tools; if not, write to the Free Software Foundation, # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#----- Revision history ----------------------------------------------------- -# -# $Log: sw.in,v $ -# Revision 1.1 1999/07/30 18:46:38 mdw -# New CGI script for browsing installed software and documentation. -# - #----- Required packages ---------------------------------------------------- use lib qw(@pkgdatadir@); @@ -62,8 +55,8 @@ sub debug($\%) { } $ACT{"show-config"} = sub { debug("configuration", %C); }; -$ACT{"show-environment"} = sub { debug("configuration", %ENV); }; -$ACT{"show-query"} = sub { debug("configuration", %Q); }; +$ACT{"show-environment"} = sub { debug("environment", %ENV); }; +$ACT{"show-query"} = sub { debug("query", %Q); }; #----- Snarf arguments ------------------------------------------------------