From 840fdfaf1ee0b0b43a296b54b0c16c4ee9a76242 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 10 Apr 2024 12:24:50 +0000 Subject: [PATCH] Trying to fix issue. Updating to version 2.0.45 --- entrypoint.sh | 5 +++++ version.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e9c69eb..33738a0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -39,6 +39,11 @@ if [ "${HOME_USER-}" ]; then # Copy the .bashrc file from vscode user to HOME_USER sudo su - ${HOME_USER} -c "cat /home/vscode/.bashrc >> ~/.bashrc" + # Creating .vscode folder if it doesn't exist + if [ ! -d "/home/${HOME_USER}/.vscode" ]; then + sudo mkdir -p /home/${HOME_USER}/.vscode + fi + # Changing the property of the directory /home/${HOME_USER}/.vscode sudo chown -R ${HOME_USER}: /home/${HOME_USER}/.vscode diff --git a/version.txt b/version.txt index 63cfbb7..ec3b322 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.44 \ No newline at end of file +2.0.45 \ No newline at end of file