Update main.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-05 22:35:55 +02:00
parent 806ba58725
commit 121f47941b

View File

@ -41,6 +41,14 @@ then
patch -Np1 -i ../patches/patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"
done
fi
if [ -f ../native-series ]
then
for i in $(cat ../native-series)
do
echo "Applying Patch: $i"
patch -Np1 -i ../patches/patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"
done
fi
fi
# Reversion changelog