Update fetch.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-09 22:32:23 +02:00
parent 7bd4dc4c0c
commit 59565b94dc

View File

@ -39,7 +39,7 @@ do
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
sed -i -E '/^Depends:/ s/\(\>= /(/g; s/\(\=[^ ]*/(>=/g; s/\+b[0-9]+//g' $i-tmp/DEBIAN/control sed -i -E '/^Depends:/ s/\(\=[^ ]*/(>=/g; s/\+b[0-9]+//g' $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i-fixed_$PIKA_BIN_ARCH.deb dpkg-deb -b $i-tmp $i-fixed_$PIKA_BIN_ARCH.deb
mv -vf ./*-fixed_$PIKA_BIN_ARCH.deb ./output/ mv -vf ./*-fixed_$PIKA_BIN_ARCH.deb ./output/
rm -rf ./*.deb rm -rf ./*.deb