Add signal.sh

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2021-10-17 11:06:13 +01:00
parent 1727d4ae2f
commit cc8df7d251
No known key found for this signature in database
GPG key ID: AA5726202C8879B7
2 changed files with 18 additions and 0 deletions

View file

@ -22,6 +22,7 @@ Markdown docs and shell scripts for automating installation of things and docume
* [`fuck.md`](fuck.md) for installing https://github.com/nvbn/thefuck
* [`gpaste.md`](gpaste.md) for installing the GPaste clipboard manager
* [`rootcert.md`](rootcert.md) for installing other root certificates
* [`signal.sh`](signal.sh) for installing the Signal desktop client
## Performance

17
signal.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# Signal instant messenger desktop client for Debian-based distributions
# 17-10-2021
# 1. Install our official public software signing key
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
rm signal-desktop-keyring.gpg
# 2. Add our repository to your list of repositories
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
# 3. Update your package database and install signal
sudo apt update && sudo apt install signal-desktop