generated from general-packages/pika-pkg-template
Update fetch.sh
This commit is contained in:
parent
514cad81a9
commit
cb12534593
5
fetch.sh
5
fetch.sh
@ -36,11 +36,12 @@ do
|
||||
else
|
||||
for i in ./*.deb
|
||||
do
|
||||
rm -rfv ./output/* || true
|
||||
mkdir $i-tmp
|
||||
dpkg-deb -R $i $i-tmp
|
||||
sed -i "s#$BIN_VERSION#$TARGET_VERSION#g" $i-tmp/DEBIAN/control
|
||||
dpkg-deb -b $i-tmp $i-fixed.deb
|
||||
mv -vf ./*-fixed.deb ./output/
|
||||
dpkg-deb -b $i-tmp $i-fixed-$PIKA_BIN_ARCH.deb
|
||||
mv -vf ./*-fixed-$PIKA_BIN_ARCH.deb ./output/
|
||||
done
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user