Update amdgpu.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-18 22:30:27 +03:00 committed by GitHub
parent 2ad32d481e
commit 6c736cac48
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 dpkg-deb -R $i $i-tmp
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version 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 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-$(date +"%Y%m%d").deb dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-fixed.deb
done done
cd ../ cd ../
mv -v ./output-tmp/*-fixed.deb ./output/ mv -v ./output-tmp/*-fixed.deb ./output/