Package: psortb / 3.0.4+dfsg-2~bpo8+1

path_to_conf.patch 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
34
35
36
37
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 17 Mar 2017 10:23:15 +010
Description: Fix path to conf and other binaries
 It is assumed that conf should not be changed by the user.
 In case it turns out that users need to change this the files should be
 moved to /etc/psortb

--- a/psort/bin/psort
+++ b/psort/bin/psort
@@ -59,9 +59,9 @@ MAIN: {
   my $psort_analysis = 'psort';
   my $psort_output = 'bayes';
 
-  my $root = '/usr/local/psortb-3.0';
-  my $blastdir = '/usr/local/bio/blast';
-  my $pftools = '/usr/local/bin/';
+  my $root = '/usr/lib/psort';
+  my $blastdir = '/usr/bin';
+  my $pftools = '/usr/bin';
   my $pfscan_module = 'Profile';
 
   # Pull any options off of the command line.
--- a/psort/server/startup.pl
+++ b/psort/server/startup.pl
@@ -8,9 +8,9 @@ use Apache ();
 
 use strict;
 
-my $PSORT_ROOT = "/usr/local/psort/";
-my $BLAST_DIR  = "/path/to/BLAST/installation/";
-my $PFTOOLS_DIR = "/path/to/PFTOOLS/installation/";
+my $PSORT_ROOT = "/usr/lib/psort";
+my $BLAST_DIR  = "/usr/bin";
+my $PFTOOLS_DIR = "/usr/bin";
 
 our %ENV;