Bugzilla – Attachment 50310 Details for
Bug 15303
Letsencrypt option for Debian package installations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15303 Followup: Fix apt-cache show breaking koha-create
Bug-15303-Followup-Fix-apt-cache-show-breaking-koh.patch (text/plain), 1.19 KB, created by
Jonathan Druart
on 2016-04-18 08:32:58 UTC
(
hide
)
Description:
Bug 15303 Followup: Fix apt-cache show breaking koha-create
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-18 08:32:58 UTC
Size:
1.19 KB
patch
obsolete
>From 13b1c469a4951b088715f0ebf3f0e77b9440f824 Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Fri, 15 Apr 2016 18:03:55 +0200 >Subject: [PATCH] Bug 15303 Followup: Fix apt-cache show breaking koha-create > >Temporarely set +e so the test for the LE package does not break >koha-create > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > debian/scripts/koha-create | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 263ee14..850e5d4 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -331,8 +331,11 @@ enable_sru_server() > check_letsencrypt() > { > if [ $(dpkg-query -W -f='${Status}' letsencrypt 2>/dev/null | grep -c "ok installed") -eq 0 ]; then >+ set +e > apt-cache show letsencrypt &>/dev/null >- if [ $? -eq 0 ]; then >+ local aptcacheshow=$? >+ set -e >+ if [ $aptcacheshow -eq 0 ]; then > read -r -p "The letsencrypt package is not installed. Do it now? [y/N] " response > if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then > apt-get install -y letsencrypt >-- >2.7.0
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 15303
:
45397
|
45399
|
45400
|
45402
|
45404
|
45408
|
45409
|
45414
|
45415
|
46116
|
46117
|
46118
|
46617
|
46742
|
46745
|
46746
|
46747
|
46748
|
46749
|
46750
|
46751
|
46752
|
49470
|
49471
|
50215
|
50216
|
50271
|
50283
|
50287
|
50307
|
50308
|
50309
| 50310 |
50311
|
50312
|
50313
|
50324