Update amdgpu.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-03 00:07:13 +03:00 committed by GitHub
parent 665e31c915
commit 331d383524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ do
mkdir $i-tmp
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").lunar2#" $i-tmp/DEBIAN/control
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
done
cd ../