:: Re: [DNG] Debianising my uploaded v…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Edward Bartolo
Datum:  
To: aitor_czr
CC: dng@lists.dyne.org
Betreff: Re: [DNG] Debianising my uploaded version of netman.
On 14/12/2015, aitor_czr <aitor_czr@???> wrote:
> The line 11 was wrong:
>
>> #!/bin/sh
>> if [ "$1" = "configure" ]; then
>>     /sbin/ldconfig
>> fi

>>
>> 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 --use-tray-icon";
>>             file="/usr/share/applications/netman.desktop";
>>             break;;
>>  esac
>> done

>>
>> while true; do
>>  read -p "Do you want netman to automatically connect on startup?
>> (Y/n)" yn
>>  case $yn in
>>     [Nn]* ) break;;
>>         * ) line=${line}" --auto-conn";
>>             break;;
>>  esac
>> done

>>
>> > ${file}
>> echo "[Desktop Entry]"                    >>  ${file}
>> echo "Name=Netman"                        >>  ${file}
>> echo "Terminal=false"                     >>  ${file}
>> echo "${line}"                            >>  ${file}
>> echo "Icon=/usr/share/pixmaps/netman.ico" >>  ${file}
>> echo "Type=Application"                   >>  ${file}
>> echo "Categories=Application;Network;"    >>  ${file}
>> echo "Version=0.1.1"                      >>  ${file}

>>
>> #DEBHELPER#
>> exit 0
>
> Cheers,
>
>      Aitor.


Hi Aitor et al,

Should I create netman-gui.postinst to include this script and git
push the changes?

Edward