Merge branch 'master' of github.com:steveokard/stevset
This commit is contained in:
commit
69f581bf87
2 changed files with 16 additions and 1 deletions
|
@ -24,4 +24,3 @@ Host github.com
|
||||||
Host router
|
Host router
|
||||||
Hostname 192.168.1.1
|
Hostname 192.168.1.1
|
||||||
User root
|
User root
|
||||||
IdentityFile ~/.ssh/stevserver_rsa
|
|
||||||
|
|
16
desktop.sh
Executable file
16
desktop.sh
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#Installs programs I use on a personal desktop that aren't part of the usual repositories
|
||||||
|
#Telegram, Discord, Guilded
|
||||||
|
function dpkg_url() {
|
||||||
|
local tmp_deb="$(mktemp)"
|
||||||
|
local src_url=$1
|
||||||
|
local args=${@:2}
|
||||||
|
|
||||||
|
wget -O $tmp_deb $src_url &&
|
||||||
|
sudo dpkg -i $tmp_deb $args &&
|
||||||
|
{ rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file
|
||||||
|
{ rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway
|
||||||
|
}
|
||||||
|
|
||||||
|
wget https://telegram.org/dl/desktop/linux
|
||||||
|
dpkg_url https://discord.com/api/download?platform=linux&format=deb
|
||||||
|
dpkg_url https://www.guilded.gg/downloads/Guilded-Linux.deb
|
Loading…
Add table
Add a link
Reference in a new issue