PDA

View Full Version : How can I make a .deb that would execute a script?



Philsoki
April 11th, 2011, 12:19 PM
What would be the easiest, quickest language for doing something like this?

Say if, I want to make a .deb that I can run/install with the Ubuntu Software Centre or Gdebi to execute a command like "apt-get moo" or something.

Or maybe a simple Tetris game, but I want it to execute "apt-get moo" once you reach 50 points. I'd like to start making this right now, so if you could help me out and point me in the right direction I'd appreciate it.;)

slavik
April 11th, 2011, 05:35 PM
NO! DO NOT DO THIS!

What problem are you trying to solve? Packages are not for running commands, they are for installing software.

Rasa1111
May 30th, 2011, 03:46 PM
http://ubuntuforums.org/showpost.php?p=10880955&postcount=34