Update fetch.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-07 22:37:49 +02:00
parent 514cad81a9
commit cb12534593

View File

@ -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