summaryrefslogtreecommitdiffstats
path: root/base/pkg-get/pkg-repgen.patch
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-20 08:54:32 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-20 08:54:32 +0200
commitab6dddc33e1b3c2f598f9b2dfdb417094605b5d1 (patch)
treed9b8607b3ac0f717a8b893ab47749cbe7c201616 /base/pkg-get/pkg-repgen.patch
parent3d1a5715ea9859d7936fd7a4ae57cc57bacc940e (diff)
downloadnutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.tar.gz
nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.tar.bz2
nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.tar.xz
nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.zip
pkg-get, correctif pour pkg-repgen
Diffstat (limited to 'base/pkg-get/pkg-repgen.patch')
-rw-r--r--base/pkg-get/pkg-repgen.patch11
1 files changed, 11 insertions, 0 deletions
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");