generated from general-packages/pika-pkg-template
make sure not to override original series
This commit is contained in:
parent
d9b1034a66
commit
4998f0af60
4
main.sh
4
main.sh
@ -32,13 +32,13 @@ if git clone --depth=1 https://git.pika-os.com/upstream-patches/"$PIKA_PACKAGE_N
|
|||||||
then
|
then
|
||||||
if cat ./debian/source/format | grep 'quilt'
|
if cat ./debian/source/format | grep 'quilt'
|
||||||
then
|
then
|
||||||
cp -vf ../patches/ ./debian/
|
cp -vf ../patches/patches/* ./debian/
|
||||||
cat ../series >> ./debian/patches/series
|
cat ../series >> ./debian/patches/series
|
||||||
else
|
else
|
||||||
for i in $(cat ../series)
|
for i in $(cat ../series)
|
||||||
do
|
do
|
||||||
echo "Applying Patch: $i"
|
echo "Applying Patch: $i"
|
||||||
patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"
|
patch -Np1 -i ../patches/patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user