]> git.pld-linux.org Git - packages/dehydrated.git/commitdiff
scan /etc/webapps/dehydrated for config
authorElan Ruusamäe <glen@delfi.ee>
Tue, 22 Nov 2016 18:20:23 +0000 (20:20 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 22 Nov 2016 18:25:22 +0000 (20:25 +0200)
or should we move app config to /etc/dehydrated?

dehydrated.spec
pld.patch

index 8402a1962149be477c157497a958b8ef03906a36..db23dea3ac65dcbbe777c7d0645555e434268e5d 100644 (file)
@@ -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
index f852bea6262c14de497eeee22fd7972dbf616bfd..d9a90f16f742870a566ddc89bdc98b84e38c5d54 100644 (file)
--- 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"
This page took 0.420013 seconds and 4 git commands to generate.