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:
parent
ddffc76e08
commit
91f2fec680
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=transmission-web-control
|
PKG_NAME:=transmission-web-control
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control
|
PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control
|
||||||
|
@ -34,8 +34,8 @@ define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/transmission-web-control/install
|
define Package/transmission-web-control/install
|
||||||
$(INSTALL_DIR) $(1)/usr/share/transmission/web
|
$(INSTALL_DIR) $(1)/usr/share/transmission/public_html
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/* $(1)/usr/share/transmission/web
|
$(CP) $(PKG_BUILD_DIR)/src/* $(1)/usr/share/transmission/public_html
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,transmission-web-control))
|
$(eval $(call BuildPackage,transmission-web-control))
|
||||||
|
|
Loading…
Reference in a new issue