feat: stuff
This commit is contained in:
parent
04d15ad27d
commit
37c7eaf334
7 changed files with 34 additions and 8 deletions
13
scripts/void.d/update-discord.sh
Executable file
13
scripts/void.d/update-discord.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "Downloading newest package..."
|
||||
curl -Lo /tmp/discord.deb "https://discord.com/api/download?platform=linux&format=deb"
|
||||
cd /tmp
|
||||
echo "Extracting package..."
|
||||
xdeb discord.deb
|
||||
echo "Installing package..."
|
||||
sudo xbps-install -R /tmp/binpkgs discord
|
||||
rm -rf /tmp/binpkgs
|
||||
cd -
|
Loading…
Add table
Add a link
Reference in a new issue