Update amdgpu.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-18 22:24:49 +03:00 committed by GitHub
parent fb79cedd6d
commit 2ad32d481e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ do
dpkg-deb -R $i $i-tmp
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version
sed -i "s#$(cat $i-version)#$(cat $i-version)-pika$(date +"%Y%m%d").lunar3#g" $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i-fixed.deb
dpkg-deb -b $i-tmp $i-fixed-$(date +"%Y%m%d").deb
done
cd ../
mv -v ./output-tmp/*-fixed.deb ./output/