1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-14 20:31:54 +00:00

Remove file with a -f

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-10-06 19:53:53 +02:00
parent 4ae8db02e1
commit 60a54b0c28

View file

@ -501,8 +501,8 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
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' {} \;
echo "Done"
rm 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/mac80211/patches/build/firmware-replace-HOTPLUG-with-UEVENT-in-FW_ACTION-defines.patch
rm -f package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch
fi
if [ "$OMR_KERNEL" = "5.10" ]; then
echo "Set to kernel 5.10 for rpi arch"