mirror of
				https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
				synced 2025-10-29 13:10:06 -06:00 
			
		
		
		
	Deleting vscode user when ${HOME_USER} exist. Updating to version 2.0.48
This commit is contained in:
		| @@ -50,11 +50,8 @@ if [ "${HOME_USER-}" ]; then | ||||
|     # Switch to the user specified by $HOME_USER and start an interactive shell session. | ||||
|     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" | ||||
|     # Delete the vscode user | ||||
|     sudo userdel vscode | ||||
|   fi | ||||
| fi | ||||
|  | ||||
|   | ||||
| @@ -1 +1 @@ | ||||
| 2.0.47 | ||||
| 2.0.48 | ||||
		Reference in New Issue
	
	Block a user