transmission-web-control: fix web interface files path

Transmission 4.0 web interface files changed from /web to /public_html

This fixes https://github.com/openwrt/packages/issues/20737

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
This commit is contained in:
Mikhail Zhilkin 2023-03-27 17:59:21 +00:00 committed by Tianling Shen
parent ddffc76e08
commit 91f2fec680

View file

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=transmission-web-control
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control
@ -34,8 +34,8 @@ define Build/Compile
endef
define Package/transmission-web-control/install
$(INSTALL_DIR) $(1)/usr/share/transmission/web
$(CP) $(PKG_BUILD_DIR)/src/* $(1)/usr/share/transmission/web
$(INSTALL_DIR) $(1)/usr/share/transmission/public_html
$(CP) $(PKG_BUILD_DIR)/src/* $(1)/usr/share/transmission/public_html
endef
$(eval $(call BuildPackage,transmission-web-control))