From 182840d13dc99cf902991b84fe55a3f22e7ac23f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 14 Nov 2021 20:16:25 +0100 Subject: [PATCH] autoaccept curl --- installSpotify.sh | 2 +- installSyncthing.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installSpotify.sh b/installSpotify.sh index ef1172b..6519105 100644 --- a/installSpotify.sh +++ b/installSpotify.sh @@ -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 diff --git a/installSyncthing.sh b/installSyncthing.sh index 8a12721..a79df32 100644 --- a/installSyncthing.sh +++ b/installSyncthing.sh @@ -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