1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Fix build script

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-04-11 14:41:43 +02:00
parent e632726cc2
commit a041aa07b0

View file

@ -867,9 +867,11 @@ fi
if [ "$OMR_KERNEL" = "5.4" ] && ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-base-add_array_sort_utilities.patch; then
patch -N -p1 -s < ../../patches/luci-base-add_array_sort_utilities.patch
fi
if [ ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-nftables.patch ] && [ -d luci/modules/luci-mod-status ]; then
if [ -d luci/modules/luci-mod-status ]; then
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-nftables.patch; then
patch -N -p1 -s < ../../patches/luci-nftables.patch
fi
fi
cd ../..
[ -d $OMR_FEED/luci-base/po/oc ] && cp -rf $OMR_FEED/luci-base/po/oc feeds/${OMR_KERNEL}/luci/modules/luci-base/po/