Re: Getting short name before autopackage is installed.
Neil Munro <[email protected]> Fri, 4 Sep 2009 02:12:52 +0100
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
--0003255528e231a0cd0472b634d8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah that worked great, thanks, took a little while to work out how to extrac= t it using python but I've done it now. :D 2009/9/4 Eugene Zolenko <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]> > ShortName will be one field between start of the .package file and this > line: > > ## END OF HEADER > > > > # ShortName <someshortname> > > > > Just open .package in text editor and you=E2=80=99ll see. > > > ------------------------------ > > *From:* Neil Munro [mailto:[email protected]] > *Sent:* 03 09 2009, Thursday 18:32 > *To:* autopackage-dev-OfajU3CKLf1/[email protected] > *Subject:* Getting short name before autopackage is installed. > > > > Hey > > I am working on an application that pulls various packages from the > internet and installs them under Linux, since autopackage is dead easy to > get applications installed with it was the first package format to be > supported, now however I am looking into how to uninstall packages and > autopackage is still rather simple, if your an intelligent human being. M= y > program kinda sucks that way since it's neither ;). > > > > I have a package file, I save the name of this package file to a text fil= e, > however I wish to extract the short name from the autopackage archive pri= or > to installation so my program can save the short name in the text file > should the need to uninstall arise. How might I achieve this? > > > > Many thanks, > > Neil Munro > --0003255528e231a0cd0472b634d8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ah that worked great, thanks, took a little while to work out how to extrac= t it using python but I've done it now. :D<br><br><div class=3D"gmail_q= uote">2009/9/4 Eugene Zolenko <span dir=3D"ltr"><<a href=3D"mailto:Eugen= eZolenko-XYgkjQFSZqy1Z/[email protected]">EugeneZolenko-XYgkjQFSZqy1Z/[email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"> <div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy">ShortName will be one field between st= art of the .package file and this line:</span></font></p> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy">## END OF HEADER</span></font></p> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy">=C2=A0</span></font></p> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy"># ShortName <someshortname></spa= n></font></p> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy">=C2=A0</span></font></p> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy">Just open .package in text editor and = you=E2=80=99ll see.</span></font></p> <p><font size=3D"2" color=3D"navy" face=3D"Arial"><span style=3D"font-size:= 10.0pt;font-family:Arial;color:navy">=C2=A0</span></font></p> <div> <div align=3D"center" style=3D"text-align:center"><font size=3D"3" face=3D"= Times New Roman"><span style=3D"font-size:12.0pt"> <hr size=3D"2" width=3D"100%" align=3D"center"> </span></font></div> <p><b><font size=3D"2" face=3D"Tahoma"><span style=3D"font-size:10.0pt;font= -family:Tahoma;font-weight:bold">From:</span></font></b><font size=3D"2" fa= ce=3D"Tahoma"><span style=3D"font-size:10.0pt;font-family:Tahoma"> Neil Mun= ro [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">neilmunro@= gmail.com</a>] <br> <b><span style=3D"font-weight:bold">Sent:</span></b> 03 09 2009, Thursday 1= 8:32<br> <b><span style=3D"font-weight:bold">To:</span></b> <a href=3D"mailto:autopa= ckage-dev-OfajU3CKLf1/[email protected]" target=3D"_blank">autopackage-dev-OfajU3CKLf1/[email protected]</a><br> <b><span style=3D"font-weight:bold">Subject:</span></b> Getting short name = before autopackage is installed.</span></font></p> </div><div><div></div><div class=3D"h5"> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">=C2=A0</span></font></p> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">Hey</span></font></p> <div> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">=C2=A0=C2=A0 =C2=A0 =C2=A0I am working on an application that pulls various packages from the internet and installs them under Linux, since autopackage is dead easy to get applications installed with it was the firs= t package format to be supported, now however I am looking into how to uninst= all packages and autopackage is still rather simple, if your an intelligent hum= an being. My program kinda sucks that way since it's neither ;).=C2=A0</sp= an></font></p> </div> <div> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">=C2=A0</span></font></p> </div> <div> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">I have a package file, I save the name of this package file to a text file, however I wish to extract the short name from the autopackage archive prior to installation so my program can save the short name in the text fil= e should the need to uninstall arise. How might I achieve this?</span></font>= </p> </div> <div> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">=C2=A0</span></font></p> </div> <div> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">Many thanks,</span></font></p> </div> <div> <p><font size=3D"3" face=3D"Times New Roman"><span style=3D"font-size:12.0p= t">Neil Munro</span></font></p> </div> </div></div></div> </div> </blockquote></div><br> --0003255528e231a0cd0472b634d8--