Majestic: remove existing download

pull/860/head
Viktor 2023-06-07 20:05:22 +02:00 committed by viktorxda
parent 7677f156f0
commit 302293bf8f
1 changed files with 5 additions and 0 deletions

View File

@ -46,4 +46,9 @@ define MAJESTIC_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/majestic
endef
define MAJESTIC_REMOVE_DOWNLOAD
rm -f $(BR2_DL_DIR)/majestic/$(MAJESTIC_SOURCE)
endef
MAJESTIC_PRE_DOWNLOAD_HOOKS += MAJESTIC_REMOVE_DOWNLOAD
$(eval $(generic-package))