Bugzilla – Attachment 41777 Details for
Bug 14705
Allow .pl too in atomicupdate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14705: Allow .pl too in atomicupdate
Bug-14705-Allow-pl-too-in-atomicupdate.patch (text/plain), 1.23 KB, created by
Marcel de Rooy
on 2015-08-21 11:26:14 UTC
(
hide
)
Description:
Bug 14705: Allow .pl too in atomicupdate
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-08-21 11:26:14 UTC
Size:
1.23 KB
patch
obsolete
>From d3056b58ddff8e44105d86fc5e4b3000c60315b8 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 21 Aug 2015 13:25:02 +0200 >Subject: [PATCH] Bug 14705: Allow .pl too in atomicupdate >Content-Type: text/plain; charset=utf-8 > >Bug 13893 added perl files with the extension .perl. >In practice you always tend to add a .pl file. >I suggest to add it. > >Test plan: >[1] Add a .pl file in atomicupdate. >[2] Try the update step in webinstaller. >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 10809a1..fc38b57 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -10768,7 +10768,7 @@ if ( CheckVersion($DBversion) ) { > my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/'; > opendir( my $dirh, $update_dir ); > foreach my $file ( sort readdir $dirh ) { >- next if $file !~ /\.(sql|perl)$/; #skip other files >+ next if $file !~ /\.(sql|pl|perl)$/; #skip other files > print "DEV atomic update: $file\n"; > if ( $file =~ /\.sql$/ ) { > my $installer = C4::Installer->new(); >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14705
:
41777
|
41778