Skip to content

Instantly share code, notes, and snippets.

View coseos's full-sized avatar
🏢
Working

coseos coseos

🏢
Working
View GitHub Profile
@Marwe
Marwe / block_msrepo_on_rpi.sh
Created February 7, 2021 11:21
Block MS repo on raspbian
#!/bin/bash
# manual rasbian fix 2021-02-06 needed
# if added already, remove ms repos and prevent them being installed on PI with rasbian (done without consent or opt-in)
# https://www.reddit.com/r/rebhu/comments/lcos3c/microsoft_repo_installed_on_all_raspberry_pis/
# https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/41#issuecomment-773220437
for i in /etc/apt/trusted.gpg.d/microsoft.gpg /etc/apt/sources.list.d/vscode.list
do
rm -vf "$i"