Update amdgpu.sh
This commit is contained in:
parent
564e633c34
commit
33b9941974
@ -38,7 +38,7 @@ do
|
|||||||
mkdir $i-tmp
|
mkdir $i-tmp
|
||||||
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").lunar2#" $i-tmp/DEBIAN/control
|
sed -i "s#$(cat $i-version)#$(cat $i-version)-99pika.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 ../
|
||||||
|
Loading…
Reference in New Issue
Block a user