Disable Steam updating
This commit is contained in:
parent
6a3135c58a
commit
b455279b2e
1 changed files with 11 additions and 4 deletions
15
debian.sh
15
debian.sh
|
@ -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.
|
||||
# There's probably a better way to do this.
|
||||
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
|
||||
if ! cmp --silent "./steam.deb" "/repo/steam.deb"; then
|
||||
curl -L https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb -o /repo/steam.deb
|
||||
fi
|
||||
# Update: This doesn't actually work for some reason?
|
||||
#curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
|
||||
#if ! cmp --silent "./steam.deb" "/repo/steam.deb"; then
|
||||
# curl -L https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb -o /repo/steam.deb
|
||||
#fi
|
||||
|
||||
# Update ArmCord
|
||||
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 -
|
||||
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
|
||||
dpkg-scanpackages --arch amd64 /repo > /repo/Packages
|
||||
cat /repo/Packages | gzip -9 > /repo/Packages.gz
|
||||
|
|
Loading…
Reference in a new issue