[xmake.sh] Fix bug on disable xray-core

This commit is contained in:
remittor
2023-11-29 16:41:42 +03:00
parent 2513fb4d9a
commit e9e09c3f42

View File

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