Subject: Re: pkg/32952: pkg_chk now spewing pkg_delete commands with "-i"
To: None <abs@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Todd Vierling <tv@duh.org>
List: pkgsrc-bugs
Date: 03/12/2006 14:00:09
The following reply was made to PR pkg/32952; it has been noted by GNATS.

From: Todd Vierling <tv@duh.org>
To: abs@netbsd.org
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/32952: pkg_chk now spewing pkg_delete commands with "-i"
 emulation
Date: Sun, 12 Mar 2006 08:58:48 -0500 (Eastern Standard Time)

 Here's an extra patch hunk that actually allows -q to work from the command
 line (I was originally testing with the -i emulation, which automatically
 sets $opt_q).
 
 Index: files/pkg_chk.sh
 ===================================================================
 RCS file: /cvsroot/pkgsrc/pkgtools/pkg_chk/files/pkg_chk.sh,v
 retrieving revision 1.29
 diff -u -r1.29 pkg_chk.sh
 --- files/pkg_chk.sh	18 Feb 2006 21:34:03 -0000	1.29
 +++ files/pkg_chk.sh	12 Mar 2006 13:57:17 -0000
 @@ -582,7 +586,7 @@
      fi
      }
 
 -args=$(getopt BC:D:L:P:U:abcfghiklNnrsSuv $*)
 +args=$(getopt BC:D:L:P:U:abcfghiklNnqrsSuv $*)
  if [ $? != 0 ]; then
      opt_h=1
  fi