File: fix-with-new-par-name

package info (click to toggle)
libpar-packer-perl 1.047-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,272 kB
  • sloc: perl: 13,276; ansic: 1,059; makefile: 32
file content (22 lines) | stat: -rw-r--r-- 626 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
Description: par.pl was renamed to par-archive in order to be
 compliant with Debian Policy
Origin: vendor
Forwarded: not-needed
Author: Ryan Niebur <ryan@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-06-23

--- a/lib/PAR/Packer.pm
+++ b/lib/PAR/Packer.pm
@@ -1281,9 +1281,9 @@
 
     if ($opt->{P}) {
         # write as script
-        $parl = 'par.pl';
+        $parl = 'par-archive';
         unless ( $parl = $self->_can_run($parl, $opt->{P}) ) {
-            $self->_die("par.pl not found");
+            $self->_die("$parl not found");
         }
         $self->{parl} = $parl;
     }