luci-app-ssr-plus-jsda: rename
This commit is contained in:
parent
3d5835c332
commit
d49e85a05a
@ -1,6 +1,6 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-ssr-plus
|
||||
PKG_NAME:=luci-app-ssr-plus-jsda
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=140
|
||||
|
||||
@ -59,7 +59,7 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_haproxy
|
||||
default n
|
||||
endef
|
||||
|
||||
define Package/luci-app-ssr-plus
|
||||
define Package/luci-app-ssr-plus-jsda
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
@ -84,7 +84,7 @@ endef
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-ssr-plus/install
|
||||
define Package/luci-app-ssr-plus-jsda/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci
|
||||
cp -pR ./luasrc/* $(1)/usr/lib/lua/luci
|
||||
$(INSTALL_DIR) $(1)/
|
||||
@ -93,7 +93,7 @@ define Package/luci-app-ssr-plus/install
|
||||
cp -pR ./po/zh-cn/ssr-plus.zh-cn.lmo $(1)/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo
|
||||
endef
|
||||
|
||||
define Package/luci-app-ssr-plus/postinst
|
||||
define Package/luci-app-ssr-plus-jsda/postinst
|
||||
#!/bin/sh
|
||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
( . /etc/uci-defaults/luci-ssr-plus ) && rm -f /etc/uci-defaults/luci-ssr-plus
|
||||
@ -104,7 +104,7 @@ fi
|
||||
exit 0
|
||||
endef
|
||||
|
||||
define Package/luci-app-ssr-plus/prerm
|
||||
define Package/luci-app-ssr-plus-jsda/prerm
|
||||
#!/bin/sh
|
||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
/etc/init.d/shadowsocksr disable
|
||||
@ -113,4 +113,4 @@ fi
|
||||
exit 0
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-ssr-plus))
|
||||
$(eval $(call BuildPackage,luci-app-ssr-plus-jsda))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user