This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-24 16:32:26 +03:00 committed by GitHub
parent bc4f6ab09c
commit deb3487276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,11 +38,11 @@ dpkg-sig --sign builder ./output/*.deb
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Check if the amdgpu component exists # Check if the amdgpu component exists
if cat ./output/repo/conf/distributions | tr '\n' ',' | grep "Codename: lunar" | grep "Components: amdgpu" if cat ./output/repo/conf/distributions | grep Components: | grep amdgpu
then then
true true
else else
echo -e "\nOrigin: ppa.pika-os.com\nLabel: apt repository\nCodename: lunar \nArchitectures: source i386 amd64\nComponents: amdgpu\nDescription: pika-os amdgpu repo\nSignWith: AB78C60DFB581603\nPull: lunar" >> ./output/repo/conf/distributions sed -i "s#Components:#Components: amdgpu#" ./output/repo/conf/distributions
fi fi
# Add the new package to the repo # Add the new package to the repo