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:
Glen Huang 2022-10-22 21:42:10 +08:00
parent 465f56adc2
commit cbc06f45b9
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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
;;