View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#7
Originally Posted by danielwilms View Post
You can add a line to create a softlink in the postinst like:

Code:
ln -s /opt/.../<executable-binary> /usr/bin/<executable-binary>
Daniel
Or include the link in the staging directory and it will be included in the package.

Using the postinst script is, in my view, the less good alternative.
 

The Following User Says Thank You to Joorin For This Useful Post: