Update pigeon-intel.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-07-31 21:41:30 +02:00
parent 418509ebde
commit d7c7925e70

View File

@ -8,7 +8,7 @@ chmod 755 ./ppp
mkdir -p ./output-temp mkdir -p ./output-temp
cd ./output-temp cd ./output-temp
../ppp https://ppa.pika-os.com/dists/pika/pigeon2/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/noble/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./ ../ppp https://ppa.pika-os.com/dists/pika/pigeon/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/noble/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./
# Delete Unwanted Packages or failure points with ppp # Delete Unwanted Packages or failure points with ppp
rm -rfv ./intel-i915-dkms_*.deb rm -rfv ./intel-i915-dkms_*.deb
@ -39,9 +39,9 @@ do
dpkg-deb -R $i $i-tmp dpkg-deb -R $i $i-tmp
sed "s#-$(echo $PACKAGE_VER_APPEND | cut -d '-' -f2-)##g" -i $i-tmp/DEBIAN/control sed "s#-$(echo $PACKAGE_VER_APPEND | cut -d '-' -f2-)##g" -i $i-tmp/DEBIAN/control
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)+pigeon3$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control sed -i "s#$(cat $i-version)#$(cat $i-version)+pigeon$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control
sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i+pigeon3$(date +"%Y%m%d")-fixed.deb dpkg-deb -b $i-tmp $i+pigeon$(date +"%Y%m%d")-fixed.deb
done done
cd ../ cd ../