mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Trying to fix issue. Updating to version 2.0.47
This commit is contained in:
parent
3ab91f9f5f
commit
2a98fcce78
@ -33,9 +33,6 @@ if [ "${HOME_USER-}" ]; then
|
|||||||
sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc"
|
sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Copy the HOME variable from vscode user to HOME_USER
|
|
||||||
sudo su - ${HOME_USER} -c "echo 'export HOME=\"/home/\${HOME_USER}\"' >> ~/.bashrc"
|
|
||||||
|
|
||||||
# Copy the .bashrc file from vscode user to HOME_USER
|
# Copy the .bashrc file from vscode user to HOME_USER
|
||||||
sudo su - ${HOME_USER} -c "cat /home/vscode/.bashrc >> ~/.bashrc"
|
sudo su - ${HOME_USER} -c "cat /home/vscode/.bashrc >> ~/.bashrc"
|
||||||
|
|
||||||
@ -52,6 +49,12 @@ if [ "${HOME_USER-}" ]; then
|
|||||||
|
|
||||||
# Switch to the user specified by $HOME_USER and start an interactive shell session.
|
# Switch to the user specified by $HOME_USER and start an interactive shell session.
|
||||||
sudo su -l ${HOME_USER}
|
sudo su -l ${HOME_USER}
|
||||||
|
|
||||||
|
# Copy the HOME variable from vscode user to HOME_USER
|
||||||
|
sudo su -l ${HOME_USER} -c "echo \"export HOME=/home/${HOME_USER}\" >> ~/.bashrc"
|
||||||
|
|
||||||
|
# Source the .bashrc file to apply the changes immediately
|
||||||
|
sudo su -l ${HOME_USER} -c "source ~/.bashrc"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.46
|
2.0.47
|
Loading…
Reference in New Issue
Block a user