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:
parent
e632726cc2
commit
a041aa07b0
1 changed files with 4 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue