control thingy

This commit is contained in:
Ward from fusion-voyager-3 2024-08-09 00:59:57 +03:00
parent 4aa1750cdc
commit 3432120a73

View File

@ -39,6 +39,7 @@ do
mkdir $i-tmp
dpkg-deb -R $i $i-tmp
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
dpkg-deb -b $i-tmp $i-fixed_$PIKA_BIN_ARCH.deb
mv -vf ./*-fixed_$PIKA_BIN_ARCH.deb ./output/
rm -rf ./*.deb