Update main.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-05 22:36:44 +02:00
parent 121f47941b
commit 82400ffb74

View File

@ -30,6 +30,8 @@ cd $(find ./ -maxdepth 1 -name "$PIKA_PACKAGE_NAME*" -type d | head -1)
# DO PATCHING
if git clone --depth=1 https://git.pika-os.com/upstream-patches/"$PIKA_PACKAGE_NAME".git ../patches
then
if [ -f ../series ]
then
if cat ./debian/source/format | grep 'quilt'
then
cp -rvf ../patches/patches ./debian/
@ -41,6 +43,7 @@ then
patch -Np1 -i ../patches/patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"
done
fi
fi
if [ -f ../native-series ]
then
for i in $(cat ../native-series)