Undo Raspbian adding MS repo

This commit is contained in:
Taylor Helsper 2021-02-04 19:40:52 -06:00
parent b795d9475c
commit bccd355879

View File

@ -698,6 +698,15 @@ rm -f /etc/update-motd.d/41-armbian-config || true
rm -f /etc/update-motd.d/98-armbian-autoreboot-warn || true rm -f /etc/update-motd.d/98-armbian-autoreboot-warn || true
# Random Cleanup
if [ -f /etc/apt/sources.list.d/vscode.list ]; then
sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/vscode.list
fi
if [ -f /etc/apt/trusted.gpg.d/microsoft.gpg ]; then
rm /etc/apt/trusted.gpg.d/microsoft.gpg
fi
# Clean apt-cache # Clean apt-cache
apt-get clean apt-get clean