acme: make package create dir /etc/ssl/acme
Since the dir is a standardized one, it should not be created dynamically Signed-off-by: Glen Huang <i@glenhuang.com>
This commit is contained in:
parent
465f56adc2
commit
cbc06f45b9
|
@ -34,6 +34,7 @@ define Package/acme-common/conffiles
|
|||
endef
|
||||
|
||||
define Package/acme-common/install
|
||||
$(INSTALL_DIR) $(1)/etc/ssl/acme
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/acme.config $(1)/etc/config/acme
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
|
|
|
@ -131,7 +131,6 @@ get)
|
|||
config_load acme
|
||||
config_foreach load_globals acme
|
||||
|
||||
mkdir -p /etc/ssl/acme
|
||||
trap cleanup EXIT
|
||||
config_foreach get_cert cert
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue