Bugzilla – Attachment 50324 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: If install LE dependencies from backports on Jessie
Bug-15303-Followup-If-install-LE-dependencies-from.patch (text/plain), 1.48 KB, created by
Mirko Tietgen
on 2016-04-18 12:55:37 UTC
(
hide
)
Description:
Bug 15303 Followup: If install LE dependencies from backports on Jessie
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2016-04-18 12:55:37 UTC
Size:
1.48 KB
patch
obsolete
>From 1bc750cb9637af356ea33ea41c8459149800e2ef Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Mon, 18 Apr 2016 11:02:02 +0200 >Subject: [PATCH] Bug 15303 Followup: If install LE dependencies from backports > on Jessie > >On Debian Jessie, apt needs to be told it should get the dependencies >for the LE package from backports, or it will error. We check if we are >on Jessie and do that automatically so users don't need to set priorities >manually in apt. > >Changed to lsb_release -c -s. >--- > debian/scripts/koha-create | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 3ae762a..7fba8e6 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -338,7 +338,12 @@ check_letsencrypt() > 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 >+ local debrelease="$(lsb_release -c -s)" >+ if [ $debrelease = "jessie" ]; then >+ apt-get install -y -t jessie-backports letsencrypt >+ else >+ apt-get install -y letsencrypt >+ fi > else > die "You have to install letsencrypt to use the --letsencrypt parameter." > fi >-- >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