dotfiles/bin/update-discord
Andrei Jiroh Halili 81aca31cdf
feat(scripts): import more scripts from legacy codebase
Plus, in this commit:
* updated most of shell rc and then some

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-01-19 19:22:37 +08:00

8 lines
306 B
Bash
Executable file

#!/bin/bash
set -e
# An script to automate upgrading Discord via the deb download link.
# TODO:Implement checks and flags to support for rpms and tar.gz setups
wget "https://discord.com/api/download?platform=linux&format=deb" -O /tmp/discord-linux-amd64.deb
sudo apt install /tmp/discord-linux-amd64.deb