mirror of
				https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
				synced 2025-10-31 05:59:57 -06:00 
			
		
		
		
	Fixing errors of user. Updating to version 2.0.39
This commit is contained in:
		| @@ -33,6 +33,9 @@ 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 PATH variable from vscode user to HOME_USER |     # Copy the PATH variable from vscode user to HOME_USER | ||||||
|     #PATH_LINE=$(grep "^PATH=" /home/vscode/.bashrc) |     #PATH_LINE=$(grep "^PATH=" /home/vscode/.bashrc) | ||||||
|     #sudo su - ${HOME_USER} -c "echo '${PATH_LINE}' >> ~/.bashrc" |     #sudo su - ${HOME_USER} -c "echo '${PATH_LINE}' >> ~/.bashrc" | ||||||
| @@ -41,7 +44,7 @@ if [ "${HOME_USER-}" ]; then | |||||||
|     sudo su - ${HOME_USER} -c "cat /home/vscode/.bashrc >> ~/.bashrc" |     sudo su - ${HOME_USER} -c "cat /home/vscode/.bashrc >> ~/.bashrc" | ||||||
|      |      | ||||||
|     # Changing the property of the directory /home/${HOME_USER} |     # Changing the property of the directory /home/${HOME_USER} | ||||||
|     sudo chown -R ${HOME_USER}: /home/${HOME_USER}/ |     # sudo chown -R ${HOME_USER}: /home/${HOME_USER}/ | ||||||
|      |      | ||||||
|     # Changing the HOME_USER in the .bashrc file |     # Changing the HOME_USER in the .bashrc file | ||||||
|     sudo su - ${HOME_USER} -c 'sed -i "s|/home/vscode|/home/${HOME_USER}|g" ~/.bashrc' |     sudo su - ${HOME_USER} -c 'sed -i "s|/home/vscode|/home/${HOME_USER}|g" ~/.bashrc' | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| 2.0.38 | 2.0.39 | ||||||
		Reference in New Issue
	
	Block a user