Commit 1ad38a5
xxwhirlpool
·
2026-02-20 16:56:58 -0500 EST
parent 29b6bb9
my lazy way to update discord
1 files changed,
+12,
-0
+12,
-0
| ... | ... | @@ -0,0 +1,12 @@ | |
| 1 | + | #!/usr/bin/env bash | |
| 2 | + | # | |
| 3 | + | # lazy ass way to update discord | |
| 4 | + | ||
| 5 | + | DL_FOLDER="/home/kat/Downloads/Installers" | |
| 6 | + | DISCORD_DL_URL="https://discord.com/api/download/stable?platform=linux&format=deb" | |
| 7 | + | DEB_FILE="new_discord_$(today time).deb" | |
| 8 | + | DEB_FOL="$DL_FOLDER/$DEB_FILE" | |
| 9 | + | ||
| 10 | + | wget -O "$DEB_FOL" "$DISCORD_DL_URL" | |
| 11 | + | sudo dpkg -i "$DEB_FOL" | |
| 12 | + | rm "$DEB_FOL" |