Bugzilla – Attachment 50283 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.12 KB, created by
Mirko Tietgen
on 2016-04-15 16:06:10 UTC
(
hide
)
Description:
Bug 15303 Followup: Fix apt-cache show breaking koha-create
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2016-04-15 16:06:10 UTC
Size:
1.12 KB
patch
obsolete
>From e06968bfe5cebb6655404c3b1d30cf43dcff1ee3 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 >--- > 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.1.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 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