Install script
This commit is contained in:
		
							
								
								
									
										26
									
								
								scripts/install.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								scripts/install.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| #!/bin/bash | ||||
| HDOS_ROOT=/opt/hdos | ||||
|  | ||||
| apt install git sudo curl wget zsh -yqq | ||||
|  | ||||
| git clone https://git.corrupt.link/liz/hdos.git ${HDOS_ROOT} | ||||
| chmod -R 755 ${HDOS_ROOT} | ||||
|  | ||||
| cp ${HDOS_ROOT}/lists/sources.list /etc/apt/sources.list | ||||
|  | ||||
| apt update | ||||
|  | ||||
| apt upgrade -yqq | ||||
|  | ||||
| xargs apt install -y < ${HDOS_ROOT}/lists/apt-packages | ||||
|  | ||||
| ${HDOS_ROOT}/scripts/nvm | ||||
| ${HDOS_ROOT}/script/codium | ||||
| ${HDOS_ROOT}/scripts/ohmyzsh | ||||
|  | ||||
| sudo -u hacdc ${HDOS_ROOT}/scripts/ohmyzsh | ||||
| sudo -u hacdc ${HDOS_ROOT}/scripts/nvm | ||||
|  | ||||
| cp ${HDOS_ROOT}/dotfiles/zshrc /root/.zshrc | ||||
| cp ${HDOS_ROOT}/dotfiles/zshrc /home/hacdc/.zshrc | ||||
| chown hacdc:hacdc /home/hacdc/.zshrc | ||||
		Reference in New Issue
	
	Block a user