always trust spotify repo (fixing gpg key-error bc spotify changes *regularly* their keys)

This commit is contained in:
Mylloon 2021-12-23 13:06:41 +01:00
parent 4fc576b7fb
commit e15eae5572
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -3,8 +3,7 @@ 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 -y # 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 [trusted=yes] 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
sudo apt install spotify-client -y sudo apt install spotify-client -y
# We install the prerequisites to build and install the patch (Git and Rust will be installed and not removed) # We install the prerequisites to build and install the patch (Git and Rust will be installed and not removed)