mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix luci patch
This commit is contained in:
parent
0d185dca7d
commit
98cad48e0e
1 changed files with 6 additions and 2 deletions
8
build.sh
8
build.sh
|
@ -839,8 +839,12 @@ rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-network
|
||||||
|
|
||||||
if [ -d feeds/${OMR_KERNEL}/${OMR_DIST}/luci-mod-status ]; then
|
if [ -d feeds/${OMR_KERNEL}/${OMR_DIST}/luci-mod-status ]; then
|
||||||
rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-status
|
rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-status
|
||||||
elif ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-syslog.patch; then
|
else
|
||||||
patch -N -p1 -s < ../../patches/luci-syslog.patch
|
cd feeds/${OMR_KERNEL}
|
||||||
|
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-syslog.patch; then
|
||||||
|
patch -N -p1 -s < ../../patches/luci-syslog.patch
|
||||||
|
fi
|
||||||
|
cd -
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -d feeds/${OMR_KERNEL}/${OMR_DIST}/luci-app-statistics ] && rm -rf feeds/${OMR_KERNEL}/luci/applications/luci-app-statistics
|
[ -d feeds/${OMR_KERNEL}/${OMR_DIST}/luci-app-statistics ] && rm -rf feeds/${OMR_KERNEL}/luci/applications/luci-app-statistics
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue