Licensing my own dh_* scripts

Posted by avnik on Programmers See other posts from Programmers or by avnik
Published on 2012-07-09T22:54:38Z Indexed on 2012/07/10 3:22 UTC
Read the original article Hit count: 174

Filed under:
|

I wrote little helper script, for my own buildsystem. This script uses debhelper's Dh_lib to inject pre/post install fragments.

use strict;
use Debian::Debhelper::Dh_Lib;

foreach my $package (@{$dh{DOPACKAGES}}) {
    autoscript($package, "postinst", "postinst-rock2deb");
    autoscript($package, "postrm", "postrm-rock2deb");
}

Should it be GPL'ed, because it use GPL'ed Dh_lib, or it uncopyrightable, because no other way to do it? Other scripts in my buildsystem are MIT/X licensed, and I prefer to stay with MIT/X when possible.

(question moved from stackoverflow as suggested by few SG members)

© Programmers or respective owner

Related posts about licensing

Related posts about gpl