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>
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
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))