autoaccept curl

This commit is contained in:
Mylloon 2021-11-14 20:16:25 +01:00
parent 122336f089
commit 182840d13d
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
sudo snap remove spotify 2> /dev/null
sudo flatpak uninstall com.spotify.Client 2> /dev/null
# We install the version from the official website
which curl &> /dev/null || sudo apt update && sudo apt install curl # Install curl if not already installed
which curl &> /dev/null || sudo apt update && sudo apt install curl -y # Install curl if not already installed
curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update

View file

@ -1,5 +1,5 @@
# We add the official deposit of Syncthing
which curl &> /dev/null || sudo apt update && sudo apt install curl # Install curl if not already installed
which curl &> /dev/null || sudo apt update && sudo apt install curl -y # Install curl if not already installed
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
# Install Syncthing