|
|
@ -3,7 +3,7 @@
|
|
|
|
BOLD='\033[0;1m'
|
|
|
|
BOLD='\033[0;1m'
|
|
|
|
# check if
|
|
|
|
# check if
|
|
|
|
printf "$${BOLD}Installing VS Code!\n"
|
|
|
|
printf "$${BOLD}Installing VS Code!\n"
|
|
|
|
output=$(curl -L "https://update.code.visualstudio.com/${VERSION}/linux-deb-x64/stable" -o /tmp/code.deb && sudo dpkg -i /tmp/code.deb && sudo apt-get install -f -y)
|
|
|
|
output=$(curl -L "https://update.code.visualstudio.com/${VERSION}/linux-deb-x64/stable" -o /tmp/code.deb && sudo apt-get install -y /tmp/code.deb)
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "Failed to install VS Code: $output"
|
|
|
|
echo "Failed to install VS Code: $output"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|