vscode including repo added to apt-extend-debian
This commit is contained in:
parent
e7b9c75da0
commit
1039ae38d2
@ -25,7 +25,7 @@ TOOLS="evolution gnuplot latexmk texlive-latex-recommended texlive-latex-extra t
|
||||
|
||||
PROGRAMMING=""
|
||||
PROGRAMMING="$PROGRAMMING python-is-python3 python3-venv python3-wxgtk4.0 jq meld"
|
||||
# PROGRAMMING="$PROGRAMMING code"
|
||||
PROGRAMMING="$PROGRAMMING code"
|
||||
## PROGRAMMING="pkgconf libgtk2.0-dev"
|
||||
|
||||
|
||||
@ -39,11 +39,15 @@ read -r -p "Are you sure? [y/N] " response
|
||||
echo ------------------------------------------------------------------------------
|
||||
case "$response" in
|
||||
[yY][eE][sS]|[yY])
|
||||
echo $ALL
|
||||
#su --command="apt install curl"
|
||||
#su --command="curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt key add -"
|
||||
#su --command="add-apt-repository \"deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main\""
|
||||
#su --command="apt update"
|
||||
echo "Adding Microsoft repository for code"
|
||||
echo ------------------------------------------------------------------------------
|
||||
su --command="apt install curl"
|
||||
su --command="curl -sSL https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/keyrings/microsoft.gpg > /dev/null"
|
||||
su --command="echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main' > /etc/apt/sources.list.d/vscode.list"
|
||||
su --command="apt update"
|
||||
echo ------------------------------------------------------------------------------
|
||||
echo Installing $ALL
|
||||
echo ------------------------------------------------------------------------------
|
||||
su --command="apt-get install -y $ALL"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user