:: Re: [DNG] Debianising my uploaded v…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: aitor_czr
Datum:  
To: Edward Bartolo, dng@lists.dyne.org
Betreff: Re: [DNG] Debianising my uploaded version of netman.
Hi Edward and Rainer,

On 15/12/15 21:00, Edward Bartolo <edbarx@???> wrote:
>>> while true; do
>>> >>  read -p "Do you want netman to use a systray icon? (Y/n)" yn
>>> >>  case $yn in
>>> >>     [Nn]* ) line="exec=netman";
>>> >>             file="/etc/xdg/autostart/netman.desktop";
>>> >>             break;;
>>> >>         * ) line="exec=netman --systray";
>>> >>             file="/usr/share/applications/netman.desktop";
>>> >>             break;;
>>> >>  esac
>>> >>done

>> >
>> >This is broken, cf
>> >
>> >    Maintainer scripts are not guaranteed to run with a controlling
>> >    terminal and may not be able to interact with the user.

>> >
>> >    https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-controllingterminal

>> >
>> >and
>> >
>> >    https://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt
> Hi Rainer,

>
> Thanks for your help. This means assuming a user is available at the
> terminal during installation violates the Debian policy. So for the
> moment we are stuck: on one hand there are users who want a network
> manager to automatically start and automatically connect if a
> connection is configured, while on the other hand, there are those
> users who want netman to start only when they explicitly invoke it.
>
> Any ideas how we can get out of this?
>
> Edward


How about using widgets?

     Aitor.