Package: circos / 0.66-1

configpath_add_etc Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description: Add Debian directories in search path
Author: Olivier Sallou <olivier.sallou@irisa.fr> 
Last-Update: 2012-09-21
Forwarded: not-needed
--- a/lib/Circos/Configuration.pm
+++ b/lib/Circos/Configuration.pm
@@ -707,6 +707,7 @@
   }
 
   my @configpath = (
+										"/etc/circos",
 										dirname($file),
 										dirname($file)."/etc",
 										"$FindBin::RealBin/etc", 
--- a/etc/makehuesteps
+++ b/etc/makehuesteps
@@ -1,4 +1,4 @@
-#!/bin/env perl 
+#!/usr/bin/env perl 
 
 use strict;
 use Math::Round qw(round);
--- a/lib/Circos/Utils.pm
+++ b/lib/Circos/Utils.pm
@@ -498,7 +498,7 @@
 	}
 
 	# v0.63 added configuration directory to dir_1
-	my @dir_1 = grep($_,getcwd,Circos::Configuration::fetch_conf("configdir"),$FindBin::RealBin);
+	my @dir_1 = grep($_,getcwd,Circos::Configuration::fetch_conf("configdir"),$FindBin::RealBin,"/usr/share/circos");
 	my @dir_2 = qw(. .. ../.. ../../..);
 	my @dir_3 = qw(. etc data);