Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to configure my application for the first time soon after I install it. In debian folder of my application generated by dh_make I found postinst.ex. If this is the file I am looking for then where should I add post install code. There are 3 case blocks, configure, abort-upgrade|abort-remove|abort-deconfigure and *.

the line I want to run post install is

$(MY_APPLICATION_NAME) -i

What are the global variables available in postinst.ex script? I am looking for a variable something like $(MY_APLLICATION_NAME)

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.