Mantis - pkg_get
Viewing Issue Advanced Details
3841 regular use minor have not tried 2009-08-09 22:57 2009-10-04 03:25
hcoomes  
phil  
normal  
resolved  
fixed  
none    
none  
0003841: Wget will fail if --no-directories not set in .wgetrc
If using pkg-get is using /usr/bin/wget with default values in .wgetrc,
pkg-get may fail because catalog may be written into lower level directory.
Fix:

--- pkg-get.original 2009-05-31 17:23:13.000000000 -0400
+++ pkg-get 2009-05-31 17:23:13.000000000 -0400
@@ -144,7 +144,7 @@
        fi
 
        if [[ "$WGET" = "wget" ]] ; then
- WGETFLAGS="--dot-style=mega"
+ WGETFLAGS="--dot-style=mega --no-directories"
        fi
 
        case $graburl in
Issue History
2009-08-09 22:57 hcoomes New Issue
2009-10-04 03:25 phil Note Added: 0006793
2009-10-04 03:25 phil Status new => resolved
2009-10-04 03:25 phil Resolution open => fixed
2009-10-04 03:25 phil Assigned To => phil

Notes
(0006793)
phil   
2009-10-04 03:25   
code modified to use --no-directories. thanks for the suggestion.

pending new package release.