From 46b8c68df83183de822b766fa0d524e39d23e70f Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Sun, 17 Jan 2016 00:00:10 +0100 Subject: [PATCH] Bug 15303 Workaround to use git ckeckout The Debian package letsencrypt is only available in unstable at the moment. To test without letsencrypt package: - apply this patch before you build the package - on the test vm/server: -- get letsencrypt via git git clone https://github.com/letsencrypt/letsencrypt -- create a symlink from /usr/bin/letsencrypt to letsencrypt-auto sudo ln -s /path/to/letsencrypt/letsencrypt-auto /usr/bin/letsencrypt --- debian/scripts/koha-create | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 71ac623..5777b39 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -338,7 +338,11 @@ check_letsencrypt() die "You have to install letsencrypt to use the --letsencrypt parameter." fi else - die "No installation candidate available for package letsencrypt." + 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." + fi fi fi } -- 2.1.4