mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
Remove file with a -f
This commit is contained in:
parent
4ae8db02e1
commit
60a54b0c28
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -501,8 +501,8 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
|
||||||
echo "Set to kernel 5.4 for mediatek arch (BPI-R2)"
|
echo "Set to kernel 5.4 for mediatek arch (BPI-R2)"
|
||||||
find target/linux/mediatek -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=5.10%KERNEL_PATCHVER:=5.4%g' {} \;
|
find target/linux/mediatek -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=5.10%KERNEL_PATCHVER:=5.4%g' {} \;
|
||||||
echo "Done"
|
echo "Done"
|
||||||
rm package/kernel/mac80211/patches/build/firmware-replace-HOTPLUG-with-UEVENT-in-FW_ACTION-defines.patch
|
rm -f package/kernel/mac80211/patches/build/firmware-replace-HOTPLUG-with-UEVENT-in-FW_ACTION-defines.patch
|
||||||
rm package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
|
rm -f package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
|
||||||
fi
|
fi
|
||||||
if [ "$OMR_KERNEL" = "5.10" ]; then
|
if [ "$OMR_KERNEL" = "5.10" ]; then
|
||||||
echo "Set to kernel 5.10 for rpi arch"
|
echo "Set to kernel 5.10 for rpi arch"
|
||||||
|
|
Loading…
Reference in a new issue