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
commit565660cc5f2a7670bd1c64d02a6184f5c607996e (patch)
treee5bd3ead64deb34cc1b2a70e92fd03cfd9c46d97 /sys-apps/less/files
parentRemoving medusa mask as it is no longer in portage (diff)
downloadgentoo-2-565660cc5f2a7670bd1c64d02a6184f5c607996e.tar.gz
gentoo-2-565660cc5f2a7670bd1c64d02a6184f5c607996e.tar.bz2
gentoo-2-565660cc5f2a7670bd1c64d02a6184f5c607996e.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;