Bugzilla – Attachment 47045 Details for
Bug 15626
koha-remove does not remove log4perl.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15626: Remove log4perl.conf when using koha-remove
Bug-15626-Remove-log4perlconf-when-using-koha-remo.patch (text/plain), 1.40 KB, created by
Héctor Eduardo Castro Avalos
on 2016-01-20 19:47:32 UTC
(
hide
)
Description:
Bug 15626: Remove log4perl.conf when using koha-remove
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-01-20 19:47:32 UTC
Size:
1.40 KB
patch
obsolete
>From 896a73e117bac3c4aa9e1ca93d5c81ed2e6701b6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 Jan 2016 10:28:58 +0000 >Subject: [PATCH] Bug 15626: Remove log4perl.conf when using koha-remove > >if you create a koha install using koha-create, and remove it with >koha-remove, the /etc/koha/sites/$SITE/ directory won't be removed, >because the /etc/koha/sites/$SITE/log4perl.conf has not been removed by >this script. > >Test plan: >Use this koha-remove script to remove a koha install >Without this patch, the /etc/koha/sites/$SITE directory won't be >removed. >With this patch applied, the directory will be correctly removed. > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised >--- > debian/scripts/koha-remove | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/debian/scripts/koha-remove b/debian/scripts/koha-remove >index 528db75..395da41 100755 >--- a/debian/scripts/koha-remove >+++ b/debian/scripts/koha-remove >@@ -83,6 +83,8 @@ eof > rm "$instancefile" > [ -f "/etc/koha/sites/$name/koha-conf.xml" ] && \ > rm "/etc/koha/sites/$name/koha-conf.xml" >+ [ -f "/etc/koha/sites/$name/log4perl.conf" ] && \ >+ rm "/etc/koha/sites/$name/log4perl.conf" > [ -f "/etc/koha/sites/$name/zebra-biblios.cfg" ] && \ > rm "/etc/koha/sites/$name/zebra-biblios.cfg" > [ -f "/etc/koha/sites/$name/zebra-biblios-dom.cfg" ] && \ >-- >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 15626
:
46984
|
47045
|
47194