:: Re: [DNG] netman-autostart_0.1.1
Página Principal
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
Para: Edward Bartolo, Rainer Weikusat, dng
Assunto: Re: [DNG] netman-autostart_0.1.1
Hi Edward,

On 12/27/2015 02:40 PM, Edward Bartolo <edbarx@???> wrote:
> Hi,
>
> Thanks Aitor. At the moment, I am exercising my maintainer's skills on
> a simple package I created but that I didn't upload. This is to
> sharpen my skills so that I avoid stupid mistakes with git while at
> the same time, I learn.
>
> Edward
>
> On 27/12/2015, aitor_czr<aitor_czr@???> wrote:
>> >Hi again,
>> >
>> >On 12/27/2015 01:51 PM, aitor_czr wrote:
>>> >>I attach three files. Because i also changed netman-gui.postrm
>> >
>> >The netman-gui.postrm was wrong. I attach it again.
>> >
>> >     Aitor.


Another mistake: i forgot to change the line 'Exec=netman' by ${line} in
netman.destop file. So i proporse to remove this line from
'netman.destop' in the sources of the package, adding the folling line
at the end of netman-gui.postinst:

sed -i "4i ${line}" ${file}

where ${line} has one of the following values:

1.- Exec: netman
2.- Exec: netman --auto-conn
3.- Exec: netman --use-tray-icon
4.- Exec: netman --auto-conn --use-tray-icon

and ${file} one of these other values:

1.- /usr/share/applications/netman.desktop
2.- /etc/xdg/autostart/netman.desktop

depending on the answers of the user.

Cheers,

    Aitor.