--- rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec 2020/01/17 15:20:48 1.17 +++ rpms/smeserver-letsencrypt/contribs9/smeserver-letsencrypt.spec 2020/03/09 22:49:14 1.20 @@ -1,6 +1,6 @@ %define name smeserver-letsencrypt %define version 0.5 -%define release 11 +%define release 13 Summary: Plugin to enable letsencrypt certificates Name: %{name} Version: %{version} @@ -31,8 +31,14 @@ Lets Encrypt is a free, automated, and o https://letsencrypt.org/ %changelog +* Mon Mar 09 2020 John Crisp 0.5-13.sme +- remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] + +* Sat Jan 18 2020 John Crisp 0.5-12.sme +- forgot to remove template-begin and cron.daily dir [SME: 10862] + * Fri Jan 17 2020 John Crisp 0.5-11.sme -- force required versioni to 0.6.5 for EPEL version +- force required version to 0.6.5 for EPEL version - Add new cron template for EPEL version of dehydrated [SME: 10862] * Fri Jan 17 2020 John Crisp 0.5-10.sme @@ -283,12 +289,16 @@ if [[ -f /usr/local/bin/domain.txt ]]; then mv -f /usr/local/bin/domains.txt /usr/local/bin/domains.txt.orig; fi -if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]]; -then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; +if [[ -d /etc/cron.daily/letsencrypt ]]; +then rm -rf /etc/cron.daily/letsencrypt; fi -if [[ -f /etc/cron.daily/letsencrypt ]]; -then rm -f /etc/cron.daily/letsencrypt; +if [[ -d /etc/e-smith/templates/etc/cron.daily/letsencrypt ]]; +then rm -rf /root/etc/e-smith/templates/etc/cron.daily/letsencrypt +fi + +if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]]; +then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; fi chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known