diff --git a/bin/helpers/apt_packages.sh b/bin/helpers/apt_packages.sh index ebafe6f..113216c 100755 --- a/bin/helpers/apt_packages.sh +++ b/bin/helpers/apt_packages.sh @@ -44,25 +44,6 @@ add_1password_repo() { fi } -add_spotify_repo() { - # Check if we have a spotify.list file already, if not then create one - if [ ! -f /etc/apt/sources.list.d/spotify.list ]; then - curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg - echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list - result=$(sudo apt update 2>&1) - - if [ $? -ne 0 ]; then - printfe "%s\n" "red" " - Failed to add Spotify repository" - printfe "%s\n" "yellow" "$result" - exit 1 - fi - - printfe "%s\n" "yellow" " - Added Spotify repository" - else - printfe "%s\n" "green" " - Spotify repository already added" - fi -} - add_vscode_repo() { # Check if we have a vscode.list file already, if not then create one if [ ! -f /etc/apt/sources.list.d/vscode.list ]; then @@ -87,7 +68,6 @@ add_vscode_repo() { ensure_repositories() { add_brave_repo add_1password_repo - add_spotify_repo add_vscode_repo repos=($(cat $DOTFILES_CONFIG | shyaml get-values config.packages.apt.repos)) diff --git a/config/config.yaml b/config/config.yaml index a6017e1..16a7c8b 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -174,7 +174,6 @@ config: - code - 1password - 1password-cli - - spotify-client - flameshot - cmake - libsqlite3-dev