mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
uacme: remove cron entry on package removal
Previously, the cron config was not removed on uninstall. This change fixes that. Signed-off-by: Wren Turkal <wt@penguintechs.org>
This commit is contained in:
@@ -91,4 +91,9 @@ define Package/uacme/install
|
|||||||
$(INSTALL_BIN) ./files/acme.init $(1)/etc/init.d/acme
|
$(INSTALL_BIN) ./files/acme.init $(1)/etc/init.d/acme
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/uacme/prerm
|
||||||
|
#!/bin/sh
|
||||||
|
sed -i '/\/etc\/init\.d\/acme start/d' /etc/crontabs/root
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,uacme))
|
$(eval $(call BuildPackage,uacme))
|
||||||
|
|||||||
Reference in New Issue
Block a user