From 665e31c915c455d870967ff83ee00e49d76eec9b Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sat, 2 Sep 2023 23:48:57 +0300 Subject: [PATCH] Update amdgpu.sh --- amdgpu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amdgpu.sh b/amdgpu.sh index 68218af..c19941a 100644 --- a/amdgpu.sh +++ b/amdgpu.sh @@ -37,8 +37,8 @@ for i in ./*.deb 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)-99pika.lunar2#" $i-tmp/DEBIAN/control + 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 dpkg-deb -b $i-tmp $i-fixed.deb done cd ../