summaryrefslogtreecommitdiffstats
path: root/base/pkg-get/pkg-repgen.patch
diff options
context:
space:
mode:
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");