[packages/dehydrated] scan /etc/webapps/dehydrated for config

glen glen at pld-linux.org
Tue Nov 22 19:25:37 CET 2016


commit 657cacc73854a26bfe7eda50a917aad096393546
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 22 20:20:23 2016 +0200

    scan /etc/webapps/dehydrated for config
    
    or should we move app config to /etc/dehydrated?

 dehydrated.spec | 2 +-
 pld.patch       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dehydrated.spec b/dehydrated.spec
index 8402a19..db23dea 100644
--- a/dehydrated.spec
+++ b/dehydrated.spec
@@ -1,7 +1,7 @@
 Summary:	letsencrypt/acme client implemented as a shell-script
 Name:		dehydrated
 Version:	0.3.1
-Release:	0.6
+Release:	0.10
 License:	MIT
 Group:		Applications/Networking
 Source0:	https://github.com/lukas2511/dehydrated/archive/v%{version}/%{name}-%{version}.tar.gz
diff --git a/pld.patch b/pld.patch
index f852bea..d9a90f1 100644
--- a/pld.patch
+++ b/pld.patch
@@ -11,7 +11,7 @@
    # Check for config in various locations
    if [[ -z "${CONFIG:-}" ]]; then
 -    for check_config in "/etc/dehydrated" "/usr/local/etc/dehydrated" "${PWD}" "${SCRIPTDIR}"; do
-+    for check_config in "/etc/dehydrated" "/usr/local/etc/dehydrated" "/etc/webapps/letsencrypt.sh" "${PWD}" "${SCRIPTDIR}"; do
++    for check_config in "/etc/dehydrated" "/etc/webapps/dehydrated" "/usr/local/etc/dehydrated" "/etc/webapps/letsencrypt.sh" "${PWD}" "${SCRIPTDIR}"; do
        if [[ -f "${check_config}/config" ]]; then
          BASEDIR="${check_config}"
          CONFIG="${check_config}/config"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dehydrated.git/commitdiff/657cacc73854a26bfe7eda50a917aad096393546



More information about the pld-cvs-commit mailing list