autoaccept curl
This commit is contained in:
parent
122336f089
commit
182840d13d
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
sudo snap remove spotify 2> /dev/null
|
sudo snap remove spotify 2> /dev/null
|
||||||
sudo flatpak uninstall com.spotify.Client 2> /dev/null
|
sudo flatpak uninstall com.spotify.Client 2> /dev/null
|
||||||
# We install the version from the official website
|
# 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 -
|
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
|
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# We add the official deposit of Syncthing
|
# 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
|
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
|
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
|
# Install Syncthing
|
||||||
|
|
Reference in a new issue