[sbopkg-users] Faenza-Xfce download issue

Chess Griffin chess at chessgriffin.com
Fri Aug 10 03:48:59 UTC 2012


On Thu, Aug 9, 2012, at 03:39 AM, Mauro Giachero wrote:
> As I understand it, wget uses the last part of the url path as the file
> name but some servers (like github ones) use an http header to specify
> the
> desired file name. The flag tells wget to use that header.

Okay, makes sense.

> I think fixing the issue in sbopkg is a good idea, and maybe would let us
> to drop some related workaround we currently have in the code.
> BTW, maybe the thing works on -current just because in recent wget
> versions
> the behavior triggered by the flag became the default.

Yeah, although I also think that the issue isn't really with sbopkg
since it does work on -current and it does work on 13.37 if that wget
flag is added.  IOW, sbopkg is correctly parsing the source name, but
it's just wget that fails to properly download.

At most, I could see maybe adding a prompt about including the
"--content-disposition" flag temporarily to $TWGETFLAGS much like we do
already with "--no-check-certificate" in check_cert_prompt.  Maybe even
in the same function (i.e. modify the warning and add it to $TWGETFLAGS
at the same time) or, if we don't want to do it there, maybe add a check
to see if github is in the download URL (if that's the only problematic
site) and then offer to add the "--content-disposition."  Although, to
be honest, part of me is thinking not to bother at all and just leave it
up to user to add to WGETFLAGS in sbopkg.conf since I'm not aware of any
other packages that are affected by this other than faenza-xfce.

-- 
Chess Griffin


More information about the sbopkg-users mailing list