From ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Thu, 20 Aug 2009 08:54:32 +0200 Subject: pkg-get, correctif pour pkg-repgen --- base/pkg-get/pkg-repgen.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 base/pkg-get/pkg-repgen.patch (limited to 'base/pkg-get/pkg-repgen.patch') diff --git a/base/pkg-get/pkg-repgen.patch b/base/pkg-get/pkg-repgen.patch new file mode 100644 index 000000000..8fd93c56b --- /dev/null +++ b/base/pkg-get/pkg-repgen.patch @@ -0,0 +1,11 @@ +--- pkg-get-0.4.5/scripts/pkg-repgen.pl.original 2009-08-19 11:44:55.000000000 +0000 ++++ pkg-get-0.4.5/scripts/pkg-repgen.pl 2009-08-19 11:47:59.000000000 +0000 +@@ -198,7 +198,7 @@ + my $path = `prt-get path $package`; + $path =~ s/\n//g; + my $normal= $package; +- $normal =~ s/[^[:alnum:]]/_/g; ++ $normal =~ s/[^[:alnum:]]/-/g; + if (-f "$path/pre-install"){ + print $fh "${normal}_pre_install() {\n"; + open(my $pre, "$path/pre-install"); -- cgit v1.2.3-54-g00ecf