From 495da2c1526d69ed7b34620bd4574658bd0726df Mon Sep 17 00:00:00 2001 From: NewUse <7342068+NewUse@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:08:24 +0300 Subject: [PATCH] correct install dir and dependies --- docs/compile/openwrt/package/zapret/tpws/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/compile/openwrt/package/zapret/tpws/Makefile b/docs/compile/openwrt/package/zapret/tpws/Makefile index 6fd8d74..d0ee894 100644 --- a/docs/compile/openwrt/package/zapret/tpws/Makefile +++ b/docs/compile/openwrt/package/zapret/tpws/Makefile @@ -17,7 +17,7 @@ define Package/tpws CATEGORY:=Network TITLE:=TPWS DPI bypass proxy server SUBMENU:=Zapret - DEPENDS:=+zlib +libcap +libcap +iptables + DEPENDS:=+zlib +libcap +libcap endef define Package/tpws/description @@ -44,8 +44,8 @@ define Package/tpws/install $(INSTALL_BIN) ./files/zapret.init $(1)/etc/init.d/zapret $(INSTALL_DIR) $(1)/etc/hotplug.d/iface $(INSTALL_DATA) ./files/zapret.hotplug $(1)/etc/hotplug.d/iface/90-zapret - $(INSTALL_DIR) $(1)/opt/zapret/tpws - $(INSTALL_BIN) $(PKG_BUILD_DIR)/tpws $(1)/opt/zapret/tpws + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/tpws $(1)/usr/bin endef $(eval $(call BuildPackage,tpws))