[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395411: wget from the console



Jens Peter Secher wrote:
> But that is not the problem.  The above command works fine for me.
> But apparently not for the installer.  As mentioned in the original
> bug report, I think that the installer forgets to add a " | cut -d' '
> -f 2" at the end of that command such that the result is "i386" and
> not "Architecture: i386".

From the source code:

                asprintf(&command, "wget -q %s://%s%s/dists/%s/Release -O - | grep ^Suite: | cut -d' ' -f 2",
                         protocol, hostname, directory, suite);
                di_log(DI_LOG_LEVEL_DEBUG, "command: %s", command);
                f = popen(command, "r");

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: