Bugzilla – Attachment 50312 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: Test if the symlink to letsencrypt-auto exists
Bug-15303-Test-if-the-symlink-to-letsencrypt-auto-.patch (text/plain), 1.51 KB, created by
Jonathan Druart
on 2016-04-18 08:33:07 UTC
(
hide
)
Description:
Bug 15303: Test if the symlink to letsencrypt-auto exists
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-04-18 08:33:07 UTC
Size:
1.51 KB
patch
obsolete
>From 084ff74b7cffd352ed0f484b1f95eee45e4ff59d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 18 Apr 2016 09:03:00 +0100 >Subject: [PATCH] Bug 15303: Test if the symlink to letsencrypt-auto exists > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > debian/scripts/koha-create | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 8525143..3ae762a 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -344,9 +344,13 @@ check_letsencrypt() > fi > else > echo "No installation candidate available for package letsencrypt." >- read -r -p "If you have a symlink from /usr/bin/letsencrypt to letsencrypt-auto, it should work. [y/N] " response >- if [[ ! $response =~ ^([yY][eE][sS]|[yY])$ ]]; then >- die "You have to install letsencrypt to use the --letsencrypt parameter." >+ if [[ -f /usr/bin/letsencrypt ]]; then >+ read -r -p "If you have a symlink from /usr/bin/letsencrypt to letsencrypt-auto, it should work. [y/N] " response >+ if [[ ! $response =~ ^([yY][eE][sS]|[yY])$ ]]; then >+ die "You have to install letsencrypt to use the --letsencrypt parameter." >+ fi >+ else >+ die "You can create a symlink from /usr/bin/letsencrypt to letsencrypt-auto." > fi > fi > fi >-- >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