From 9f47b4ffd72211a216df67ef912b5eddb2b954db Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Oct 2020 11:24:33 +0200 Subject: [PATCH] Bug 26673: Remove shebangs from Perl modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's not needed. Signed-off-by: David Cook Signed-off-by: Joonas Kylmälä Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- C4/Barcodes/ValueBuilder.pm | 3 --- C4/SIP/Logger.pm | 1 - C4/SIP/SIPServer.pm | 1 - C4/ShelfBrowser.pm | 2 -- Koha/Z3950Responder.pm | 2 -- Koha/Z3950Responder/GenericSession.pm | 2 -- Koha/Z3950Responder/RPN.pm | 3 +-- Koha/Z3950Responder/Session.pm | 2 -- Koha/Z3950Responder/ZebraSession.pm | 2 -- 9 files changed, 1 insertion(+), 17 deletions(-) diff --git a/C4/Barcodes/ValueBuilder.pm b/C4/Barcodes/ValueBuilder.pm index cf5f80299e..2d23ee5a35 100644 --- a/C4/Barcodes/ValueBuilder.pm +++ b/C4/Barcodes/ValueBuilder.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl -# # Copyright 2008-2010 Foundations Bible College # Parts copyright 2012 C & P Bibliography Services # @@ -19,7 +17,6 @@ # along with Koha; if not, see . package C4::Barcodes::ValueBuilder::incremental; - use Modern::Perl; use C4::Context; diff --git a/C4/SIP/Logger.pm b/C4/SIP/Logger.pm index c73886cdc7..42c19f00ec 100644 --- a/C4/SIP/Logger.pm +++ b/C4/SIP/Logger.pm @@ -1,4 +1,3 @@ -#!/usr/bin/perl package C4::SIP::Logger; use Modern::Perl; diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm index 7af355465d..8d5be71624 100644 --- a/C4/SIP/SIPServer.pm +++ b/C4/SIP/SIPServer.pm @@ -1,4 +1,3 @@ -#!/usr/bin/perl package C4::SIP::SIPServer; use strict; diff --git a/C4/ShelfBrowser.pm b/C4/ShelfBrowser.pm index 53fdaef4b3..b115c93541 100644 --- a/C4/ShelfBrowser.pm +++ b/C4/ShelfBrowser.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl - package C4::ShelfBrowser; # Copyright 2010 Catalyst IT diff --git a/Koha/Z3950Responder.pm b/Koha/Z3950Responder.pm index e074ba880e..4d815985a4 100644 --- a/Koha/Z3950Responder.pm +++ b/Koha/Z3950Responder.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl - package Koha::Z3950Responder; # Copyright ByWater Solutions 2016 diff --git a/Koha/Z3950Responder/GenericSession.pm b/Koha/Z3950Responder/GenericSession.pm index 51fe1a1ef3..103c627c53 100644 --- a/Koha/Z3950Responder/GenericSession.pm +++ b/Koha/Z3950Responder/GenericSession.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl - package Koha::Z3950Responder::GenericSession; # Copyright The National Library of Finland 2018 diff --git a/Koha/Z3950Responder/RPN.pm b/Koha/Z3950Responder/RPN.pm index cdc43a723e..335b5d14b9 100644 --- a/Koha/Z3950Responder/RPN.pm +++ b/Koha/Z3950Responder/RPN.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +package Net::Z3950::RPN::Term; # Copyright The National Library of Finland 2018 # @@ -35,7 +35,6 @@ C. =cut -package Net::Z3950::RPN::Term; sub to_koha { my ($self, $mappings) = @_; diff --git a/Koha/Z3950Responder/Session.pm b/Koha/Z3950Responder/Session.pm index 64c866dfaf..2348b4bb30 100644 --- a/Koha/Z3950Responder/Session.pm +++ b/Koha/Z3950Responder/Session.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl - package Koha::Z3950Responder::Session; # Copyright ByWater Solutions 2016 diff --git a/Koha/Z3950Responder/ZebraSession.pm b/Koha/Z3950Responder/ZebraSession.pm index 03758cec12..302472ba69 100644 --- a/Koha/Z3950Responder/ZebraSession.pm +++ b/Koha/Z3950Responder/ZebraSession.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl - package Koha::Z3950Responder::ZebraSession; # Copyright ByWater Solutions 2016 -- 2.39.5