diff --git a/build.sh b/build.sh index aadf5ea4..68a0af88 100755 --- a/build.sh +++ b/build.sh @@ -645,6 +645,8 @@ if [ "$OMR_KERNEL" = "5.4" ]; then NOT_SUPPORTED="1" #exit 1 fi +else + [ -d ${OMR_FEED}/rust ] && rm -rf ${OMR_FEED}/rust fi if [ "$OMR_KERNEL" = "5.15" ]; then echo "Set to kernel 5.15 for rpi arch"