Add missing link to the deploy directory
PR: 225954 Submitted by: Jose Luis Duran <jlduran@gmail.com>
This commit is contained in:
parent
3e74067091
commit
c5d7fa3663
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462048
2 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= acme.sh
|
||||
PORTVERSION= 2.7.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= dvl@FreeBSD.org
|
||||
|
|
|
@ -7,14 +7,18 @@ if [ "$2" = "POST-INSTALL" ]; then
|
|||
/usr/bin/install -d -o acme -g acme -m 750 ~acme/.acme.sh
|
||||
fi
|
||||
|
||||
if [ ! -d ~acme/certs ]; then
|
||||
if [ ! -d ~acme/certs ]; then
|
||||
/usr/bin/install -d -o acme -g acme -m 750 ~acme/certs
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -d ~acme/.acme.sh/deploy ]; then
|
||||
/bin/ln -sf %%EXAMPLESDIR%%/deploy ~acme/.acme.sh
|
||||
fi
|
||||
|
||||
if [ ! -d ~acme/.acme.sh/dnsapi ]; then
|
||||
/bin/ln -sf %%EXAMPLESDIR%%/dnsapi ~acme/.acme.sh
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -f ~acme/.acme.sh/account.conf.sample ]; then
|
||||
|
||||
/bin/cat << EOF >> ~acme/.acme.sh/account.conf.sample
|
||||
|
|
Loading…
Reference in a new issue