transmission-web-control: fix web interface files path
authorMikhail Zhilkin <csharper2005@gmail.com>
Mon, 27 Mar 2023 17:59:21 +0000 (17:59 +0000)
committerTianling Shen <cnsztl@gmail.com>
Wed, 29 Mar 2023 13:38:23 +0000 (21:38 +0800)
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>
net/transmission-web-control/Makefile

index 616b5756795443068aa3220bd5250bb5041743b8..4497051787cba68b3c01949babab598a7214f0e0 100644 (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))