IS_EVOACME_LIVELINKS: Only executed if evoacme installed
This commit is contained in:
parent
a6b54d99e9
commit
9c5f8653fd
|
@ -769,6 +769,7 @@ if [ -e /etc/debian_version ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_EVOACME_LIVELINKS" = 1 ]; then
|
if [ "$IS_EVOACME_LIVELINKS" = 1 ]; then
|
||||||
|
if [ -x "$(which evoacme)" ]; then
|
||||||
for live in /etc/letsencrypt/*/live; do
|
for live in /etc/letsencrypt/*/live; do
|
||||||
actualLink=$(ls -lhad $live | tr -s ' ' | cut -d' ' -f 11)
|
actualLink=$(ls -lhad $live | tr -s ' ' | cut -d' ' -f 11)
|
||||||
actualCertDate=$(cut -d'/' -f5 <<< $actualLink)
|
actualCertDate=$(cut -d'/' -f5 <<< $actualLink)
|
||||||
|
@ -783,6 +784,7 @@ if [ -e /etc/debian_version ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ `uname -s` == "OpenBSD" ]; then
|
if [ `uname -s` == "OpenBSD" ]; then
|
||||||
|
|
Loading…
Reference in a new issue