Package list barrnap / fresh-snapshots/main debian / patches / use_debian_dirs
fresh-snapshots/main

Tree @fresh-snapshots/main (Download .tar.gz)

use_debian_dirs @fresh-snapshots/mainraw · history · blame

Description: Make sure we use correct paths for Debian policy
Index: barrnap/bin/barrnap
===================================================================
--- barrnap.orig/bin/barrnap
+++ barrnap/bin/barrnap
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 use strict;
 use warnings;
 use List::Util qw(max);
@@ -14,6 +14,9 @@ my $DESC = "rapid ribosomal RNA predicti
 my $AUTHOR = 'Torsten Seemann';
 my $URL = 'https://github.com/tseemann/barrnap';
 my $DBDIR = "$FindBin::RealBin/../db";
+if ( ! -e $DBDIR) {
+  $DBDIR = "/usr/share/barrnap/db";
+}
 my $OPSYS = $^O;
 my $BINDIR = "$FindBin::RealBin/../binaries/$OPSYS";