mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-17 12:04:29 +05:00
[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
|
LUCI_XRAY_MK=$XDIR/package/addons/luci-app-xray/core/Makefile
|
||||||
if [ -f $LUCI_XRAY_MK ]; then
|
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
|
if [ "$pkg_xray_core" != "y" ]; then
|
||||||
# Forced disable xray-core package
|
# Forced disable xray-core package
|
||||||
sed -i '/CONFIG_PACKAGE_xray-core=/d' $CFG
|
sed -i '/CONFIG_PACKAGE_xray-core=/d' $CFG
|
||||||
|
|||||||
Reference in New Issue
Block a user