Update amdgpu.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-02 23:26:33 +03:00 committed by GitHub
parent d209d14bae
commit 38d8a397ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ for i in ./*.deb
do do
mkdir $i-tmp mkdir $i-tmp
dpkg-deb -R $i $i-tmp dpkg-deb -R $i $i-tmp
sed -i "s#$(cat $i-tmp/DEBIAN/control | grep "Version: ")#$(cat $i-tmp/DEBIAN/control | grep "Version: ")-pika$(date +"%Y%m%d").lunar#" $i-tmp/DEBIAN/control sed -i "s#$(cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2 | tr -d ' ')#$(cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2 | tr -d ' ')-pika$(date +"%Y%m%d").lunar2#" $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i-fixed.deb dpkg-deb -b $i-tmp $i-fixed.deb
done done
cd ../ cd ../