Reply
Thread Tools
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#31
At this time it's not possible to add post install script and post remove script with the existing PyPackager version.

But as you need it, i ll make a new version with this feature. I'll try to do it for tomorrow, but i can't garantee it. At last it's ll be available at the end of the week.
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#32
Thanks that would be great. No rush, I still need to figure out what i'm going to put into the script.
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#33
For information pre/post install/remove script is working for the next release. I need to do more test to be sure all work. But it ll be available soon.
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#34


Thanks, this program is becoming more and more useful.

I think you ought to add some text to package descriptions like ('\nPackaged with PyPackager'). It could be default text (optional overwrite) or mandatory (concatenated to description on pakage generation).
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#35
At the beginning of pypackager, i want to add a concatenated description on the package created, but i think it more annoying than usefull.

I prefer user like you witch freely said that they use pypackager

Furthermore, it ll be annoying for users when they make a search on a package with the string "pypackager" seeing millions ( ) packages in the result.
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#36
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#37
Originally Posted by Khertan View Post
I prefer user like you witch freely said that they use pypackager
Yes, I definately would and do mention it whenever possible.

Thanks again, it may take a bit to fully test out how i intend to use it but i'll let you know. Can I do python in these scripts? If not i have workaround that doesn't need python. Just some pattern matching to /etc/sudoers that i think requires perl or python and i already require python.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#38
For debian package pre/post rm/inst scripts you can use whatever you want, even Python. The requirement is simply that the interpreter or programs you call are actually available on the N800/770.

(That's one of the problems with just rebuilding a standard debian desktop package, quite often the standard scripts are a bit too fancy (using non-tablet-existing tools) to run. Which is probably the reason for the problems with de-installing the zsh package, for example.)
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#39
Excellent explanation, thanks. If i ever need a remove script, i'll use standard shell script to be safe.
 
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#40
Originally Posted by Khertan View Post
New version 0.6.0 is now available.
Thanks - now it has already surpassed my needs :-)
(BTW: in maemo downloads, your homepage links to an old version, not to your project homepage)
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:47.