Free Injections

The Amarok project is very proud to offer you free (as in free beer) injections … into your Kubuntu DPKG.

Everything started with:

<eean> apachelogger: if your still here, is it possible to uninstall amarok without uninstall kubuntu-desktop?
<apachelogger> no
<apachelogger> eean: why would you uninstall amarok?
<eean> really? :/
<eean> switching to svn
<apachelogger> I can produce a fake package if you want to

And ended with inject.rb .. now as a packager I’d say WTF… this is total bullshit and dangerous as hell … on the other hand, DPKG doesn’t offer any possability to tell it that a certain package is installed from source. Anyway, it’s a nice Ruby hack.

  • One starts the script with ruby inject.rb APP VERSION (e.g. ruby inject.rb amarok feisty)
  • now the script creats some dirs and generic debian build files
  • finally it runs some debhelper scripts to create the actual package, which includes nothing more than nothing
  • in the end it cleans up and installs the package

Really, I have to repeat: don’t use this script if you don’t have a really good reason for doing so, and you most probably should also know what you’re doing


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s