[GRASS-dev] ubuntu grass daily: installing addons: ERROR: Please install GRASS development package
Markus Neteler
neteler at osgeo.org
Thu Feb 18 03:21:37 PST 2016
On Thu, Feb 18, 2016 at 12:01 PM, Martin Landa <landa.martin at gmail.com> wrote:
> 2016-02-18 11:58 GMT+01:00 Markus Neteler <neteler at osgeo.org>:
>> echo $OSTYPE
>> linux-gnu
>>
>> ?
>
> lsb_release -i
> Distributor ID: Debian
here:
lsb_release -i
Distributor ID: Fedora
this would even allow fine-tuned messages. However, the
redhat-lsb-core or whatever it is called elsewhere may not be present.
The order could be
- try lsb_release -i: if success, print devel package name;
- if it fails, try $OSTYPE: if success, print choice of devel pkg names;
- if it fails: if success, print current generic message.
Markus
More information about the grass-dev
mailing list