View Single Post
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#4
Originally Posted by tswindell View Post
postinst is what you're looking for, you can run xterm from there, but popping up a dialog is much more user friendly. You can do that by writing a program to handle the dialog and executing it from the postinst script.
Yep, it would be more user friendly indeed. But I think it's a bit overkill to code an application just to show a dialog

I found that HAM supports displaying licence agreement pop-up with custom text + title which has OK and CANCELL -buttons, could I use that? I know how to lauch the agreement window but I don't know how to read the return value in postinst and so on.

I'm pretty n00b when coming down to debian packaging or Unix in general so detailed help would be highly appreciated!
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE