Update fetch.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-07 22:32:29 +02:00
parent 4860b64bbf
commit 348d1f81f8

View File

@ -32,7 +32,7 @@ do
then
if [[ $BIN_VERSION == $TARGET_VERSION ]]
then
cp -vf ./*.deb ./output/
mv -vf ./*.deb ./output/
else
for i in ./*.deb
do
@ -40,7 +40,7 @@ do
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
cp -vf ./*-fixed.deb ./output/
mv -vf ./*-fixed.deb ./output/
done
fi
else