From 3f16927d4b8e274ddea33824e8cdc6050c104992 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 25 Sep 2023 16:17:25 +0300 Subject: [PATCH] use apt-get instal to auto install dependencies' --- vscode-web/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vscode-web/run.sh b/vscode-web/run.sh index 2e82307..1a10aff 100644 --- a/vscode-web/run.sh +++ b/vscode-web/run.sh @@ -3,7 +3,7 @@ BOLD='\033[0;1m' # check if 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 echo "Failed to install VS Code: $output" exit 1