File: path_to_conf.patch

package info (click to toggle)
psortb 3.0.6%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 121,076 kB
  • sloc: perl: 3,652; ansic: 700; cpp: 338; sh: 27; makefile: 23
file content (37 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | 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: 2017-03-17
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/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;
 
--- a/psort/bin/psort
+++ b/psort/bin/psort
@@ -61,9 +61,9 @@ MAIN: {
   my $psort_analysis = 'psort';
   my $psort_output = 'bayes';
 
-  my $root = '/usr/local/psortb3';
-  my $blastdir = '/usr/local/pkg/blast-2.2.26//bin';
-  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.