Disable Steam updating

This commit is contained in:
askiiart 2023-09-11 22:31:06 -05:00
parent 6a3135c58a
commit b455279b2e
No known key found for this signature in database
GPG key ID: C89CBC4F981EE719

View file

@ -6,16 +6,23 @@ apt-get install -y dpkg-dev
# Update steam - have to do all this stuff because the filename is always the same. # Update steam - have to do all this stuff because the filename is always the same.
# There's probably a better way to do this. # There's probably a better way to do this.
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb # Update: This doesn't actually work for some reason?
if ! cmp --silent "./steam.deb" "/repo/steam.deb"; then #curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
curl -L https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb -o /repo/steam.deb #if ! cmp --silent "./steam.deb" "/repo/steam.deb"; then
fi # curl -L https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb -o /repo/steam.deb
#fi
# Update ArmCord # Update ArmCord
cd /repo cd /repo
curl -LO $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C - curl -LO $(curl -s https://api.github.com/repos/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
cd /drone/src cd /drone/src
# Update th-ch/youtube-music
# curl throws errors, will figure it out later
#cd /repo
#curl -LO $(curl -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep "browser_download_url.*youtube-music_.*_amd64.deb" | cut -d : -f 2,3 | tr -d \") -C -
#cd /drone/src
# Do repo stuff # Do repo stuff
dpkg-scanpackages --arch amd64 /repo > /repo/Packages dpkg-scanpackages --arch amd64 /repo > /repo/Packages
cat /repo/Packages | gzip -9 > /repo/Packages.gz cat /repo/Packages | gzip -9 > /repo/Packages.gz