From 7545d9c0bee664ef29407819f97abe7bee210f12 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 26 Dec 2021 14:39:09 +0100 Subject: [PATCH] Add Signal installation script --- README.md | 5 +++++ installGlobalScript.sh | 3 +++ installSignal.sh | 15 +++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 installSignal.sh diff --git a/README.md b/README.md index 2d745a9..89ab062 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,11 @@ Mon guide à suivre lors d'une réinstallation d'Ubuntu gsettings set org.gnome.desktop.interface show-battery-percentage true ``` +- Installe Signal + ```bash + wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSignal.sh -O tmp.sh && bash tmp.sh; rm tmp.sh + ``` +
Mémo de commande utile peu de temps après une réinstallation/mise à jour diff --git a/installGlobalScript.sh b/installGlobalScript.sh index 56c9a76..c757589 100644 --- a/installGlobalScript.sh +++ b/installGlobalScript.sh @@ -107,6 +107,9 @@ then gsettings set org.gnome.desktop.interface show-battery-percentage true echo -e "\nBattery pourcentage now displayed! 🎉" + # Install Signal + bash installSignal.sh + # info echo -e "\n\nTake care, you may need to install manually some others stuff, check the README (and the logs) of" echo "the project => https://git.kennel.ml/Anri/myLinuxConfiguration/src/branch/main/README.md" diff --git a/installSignal.sh b/installSignal.sh new file mode 100644 index 0000000..1fdb86b --- /dev/null +++ b/installSignal.sh @@ -0,0 +1,15 @@ +# Add the public software signing key +wget -O- -q --show-progress 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 + +# Remove the gpg key +rm signal-desktop-keyring.gpg + +# Add the repository to the list +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 + +# Install the app +sudo apt update +sudo apt install signal-desktop + +echo -e "\nSignal installed! 🎉"