Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 58 XdNgj4Jd2/g6T9InmWT0hASljur+dJnzNiNCkbn9KbX7J/qK1IbR8y560yRmFsU+
- 59 NdCFTW7wY0Fb1fWJ+/KTsC4=
- 60 =J6gs
- 61 -----END PGP PUBLIC KEY BLOCK-----
- 62 " | gpg --dearmor > microsoft.gpg
- 63 mv microsoft.gpg "$CODE_TRUSTED_PART"
- 64 fi
- 65
- 66 # Install repository source list
- 67 WRITE_SOURCE=0
- 68 if [ ! -f "$CODE_SOURCE_PART" ]; then
- 69 # Write source list if it does not exist
- 70 WRITE_SOURCE=1
- 71 elif grep -q "# disabled on upgrade to" /etc/apt/sources.list.d/vscode.list; then
- 72 # Write source list if it was disabled by OS upgrade
- 73 WRITE_SOURCE=1
- 74 fi
- 75 if [ "$WRITE_SOURCE" -eq "1" ]; then
- 76 echo "### THIS FILE IS AUTOMATICALLY CONFIGURED ###
- 77 # You may comment out this entry, but any other modifications may be lost.
- 78 deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main" > "$CODE_SOURCE_PART"
- 79 fi
- 80 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement