summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-26 19:15:27 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-26 19:15:27 +0000
commit26f6917a2e51a4047281b1d3f07c8bd4c4a5db50 (patch)
tree578823af139e4e335dc5d36db8acadaf29d466ac /sys-apps/less/files
parentRemoving medusa mask as it is no longer in portage (diff)
downloadhistorical-26f6917a2e51a4047281b1d3f07c8bd4c4a5db50.tar.gz
historical-26f6917a2e51a4047281b1d3f07c8bd4c4a5db50.tar.bz2
historical-26f6917a2e51a4047281b1d3f07c8bd4c4a5db50.zip
fix config file location
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r--sys-apps/less/files/code2color.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/less/files/code2color.patch b/sys-apps/less/files/code2color.patch
index a841574f9894..5d4ac7fea077 100644
--- a/sys-apps/less/files/code2color.patch
+++ b/sys-apps/less/files/code2color.patch
@@ -1,5 +1,20 @@
--- code2color
+++ code2color
+@@ -163,11 +163,11 @@
+ # building up the database
+ # newer entries overwrite old ones
+ my @CONFIG_FILES;
+- push @CONFIG_FILES, "/etc/code2html.config";
++ push @CONFIG_FILES, "/etc/code2color";
+ push @CONFIG_FILES,
+- $ENV{'HOME'}."/.code2html.config" if $ENV{'HOME'};
++ $ENV{'HOME'}."/.code2color" if $ENV{'HOME'};
+ push @CONFIG_FILES,
+- split(/:/,$ENV{'CODE2HTML_CONFIG'}) if $ENV{'CODE2HTML_CONFIG'};
++ split(/:/,$ENV{'CODE2COLOR_CONFIG'}) if $ENV{'CODE2COLOR_CONFIG'};
+ push @CONFIG_FILES,
+ split(/:/,$params{'langfile'}) if $params{'langfile'};
+
@@ -446,7 +446,6 @@
$_[2] = $langmode;