update 2024-07-06 06:14:55

This commit is contained in:
kenzok8 2024-07-06 06:14:55 +08:00
parent deed349e20
commit 734762a31d

View File

@ -62,12 +62,8 @@ endef
define Build/Prepare
$(call Build/Prepare/Default)
if [ -d "$(BUILD_DIR)/AdGuardHome-$(PKG_VERSION)" ]; then \
mv "$(BUILD_DIR)/AdGuardHome-$(PKG_VERSION)/"* "$(BUILD_DIR)/adguardhome-$(PKG_VERSION)/"; \
fi
gzip -dc $(DL_DIR)/$(FRONTEND_FILE) | $(HOST_TAR) -C $(PKG_BUILD_DIR)/ $(TAR_OPTIONS)
( cd "$(BUILD_DIR)/adguardhome-$(PKG_VERSION)"; go mod tidy )
endef
define Package/adguardhome/install