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
|
else
|
||||||
for i in ./*.deb
|
for i in ./*.deb
|
||||||
do
|
do
|
||||||
|
rm -rfv ./output/* || true
|
||||||
mkdir $i-tmp
|
mkdir $i-tmp
|
||||||
dpkg-deb -R $i $i-tmp
|
dpkg-deb -R $i $i-tmp
|
||||||
sed -i "s#$BIN_VERSION#$TARGET_VERSION#g" $i-tmp/DEBIAN/control
|
sed -i "s#$BIN_VERSION#$TARGET_VERSION#g" $i-tmp/DEBIAN/control
|
||||||
dpkg-deb -b $i-tmp $i-fixed.deb
|
dpkg-deb -b $i-tmp $i-fixed-$PIKA_BIN_ARCH.deb
|
||||||
mv -vf ./*-fixed.deb ./output/
|
mv -vf ./*-fixed-$PIKA_BIN_ARCH.deb ./output/
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user