[xmake.sh] Fix bug on disable xray-core
This commit is contained in:
2
xmake.sh
2
xmake.sh
@@ -65,7 +65,7 @@ fi
|
||||
|
||||
LUCI_XRAY_MK=$XDIR/package/addons/luci-app-xray/core/Makefile
|
||||
if [ -f $LUCI_XRAY_MK ]; then
|
||||
pkg_xray_core=$( get_cfg_pkg_flag $CFG )
|
||||
pkg_xray_core=$( get_cfg_pkg_flag $CFG xray-core )
|
||||
if [ "$pkg_xray_core" != "y" ]; then
|
||||
# Forced disable xray-core package
|
||||
sed -i '/CONFIG_PACKAGE_xray-core=/d' $CFG
|
||||
|
||||
Reference in New Issue
Block a user