For anyone with backslashed +COMMENT files in /var/db/pkg, the following script can be used to clean them up. You could also wait until 5.1-RELEASE comes out, I suppose.

#!/bin/tcsh
cd /var/db/pkg

foreach dir (`/bin/ls|/usr/bin/grep -v pkgdb.db`)
  echo $dir; cd $dir; /bin/ls -l +COMMENT
  /usr/bin/sed 's/\\//g' +COMMENT > pkg-descr
  /bin/mv pkg-descr +COMMENT
  cd /var/db/pkg
end

exit



On 2003.05.29 05:57, Kris Kennaway wrote:
On Thu, May 29, 2003 at 12:15:20AM +0000, [EMAIL PROTECTED] wrote:
> Instead of simple text lines, pkg_info is returning what looks like
> "escaped words" after clean install of 5.1-BETA2:

Already fixed, thanks.

Kris

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to