Update amdgpu.sh
This commit is contained in:
parent
fb79cedd6d
commit
2ad32d481e
@ -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.deb
|
dpkg-deb -b $i-tmp $i-fixed-$(date +"%Y%m%d").deb
|
||||||
done
|
done
|
||||||
cd ../
|
cd ../
|
||||||
mv -v ./output-tmp/*-fixed.deb ./output/
|
mv -v ./output-tmp/*-fixed.deb ./output/
|
||||||
|
Loading…
Reference in New Issue
Block a user