File: fix-with-new-par-name

package info (click to toggle)
libpar-packer-perl 1.052-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,308 kB
  • sloc: perl: 13,160; ansic: 1,359; makefile: 28
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: 2020-12-02

--- a/lib/PAR/Packer.pm
+++ b/lib/PAR/Packer.pm
@@ -1283,9 +1283,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;
     }