On Sun, 2 Sep 2018 22:34:56 +0200 Andrea Pescetti <pesce...@apache.org> wrote:
> Pedro Lino wrote: > > So this means that the correct Distro information needs to be extracted > > from somewhere else. > > All we have is the user agent. And a user agent like your example: > > "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" > > bears no indication of the distribution, so the user will get the > default (which happens to be RPM... but as Marcus noted, changing the > default won't help). > > > Would it be absurd to have a drop list for the user to select the distro? > > I think at a point in time we used to have something like "for Ubuntu, > Debian..." as text accompanying the DEB downloads and "for Fedora, Red > Hat, CentOS, OpenSUSE" for the RPM downloads. > > When we detect "Linux", we could display these short instructions on the > page, between the drop-downs and the buttons. But only if Marcus feels > confident to implement it! > > Regards, > Andrea. > It may be useful to know that the terminal command inxi -S will display the distro name. I am sure there are other commands to do so of which I am not aware. I have not yet (not looked very hard) found any command that will disclose if the distro needs RPM or DEB files -- Rory O'Farrell <ofarr...@iol.ie> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org