mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
Merge pull request #12346 from wt/acme_cron_improvement
acme: remove cron entry on package removal
This commit is contained in:
+6
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=acme
|
||||
PKG_VERSION:=2.8.6
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/acmesh-official/acme.sh/archive/$(PKG_VERSION).tar.gz
|
||||
@@ -57,6 +57,11 @@ define Package/acme/install
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/acme.sh $(1)/usr/lib/acme/acme.sh
|
||||
endef
|
||||
|
||||
define Package/acme/prerm
|
||||
#!/bin/sh
|
||||
sed -i '/\/etc\/init\.d\/acme start/d' /etc/crontabs/root
|
||||
endef
|
||||
|
||||
define Package/acme-dnsapi
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
|
||||
Reference in New Issue
Block a user