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
|
||||
if cat ./debian/source/format | grep 'quilt'
|
||||
then
|
||||
cp -vf ../patches/ ./debian/
|
||||
cp -vf ../patches/patches/* ./debian/
|
||||
cat ../series >> ./debian/patches/series
|
||||
else
|
||||
for i in $(cat ../series)
|
||||
do
|
||||
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
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user