feat(os): improve ubuntu.bash
This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
|  |  | ||||||
| if (grep -q Ubuntu <(lsb_release -i)); then | if (grep -q Ubuntu <(lsb_release --id --short)); then | ||||||
|     sudo apt update |     sudo apt update | ||||||
|     sudo apt upgrade -y |     sudo apt upgrade -y | ||||||
|  |  | ||||||
| @@ -8,7 +8,8 @@ if (grep -q Ubuntu <(lsb_release -i)); then | |||||||
|     sudo apt install -y man manpages-fr manpages-fr-extra |     sudo apt install -y man manpages-fr manpages-fr-extra | ||||||
|     sudo apt install -y bash zsh fish |     sudo apt install -y bash zsh fish | ||||||
|     sudo apt install -y screen tmux |     sudo apt install -y screen tmux | ||||||
|     sudo apt install -y openssh mosh |     sudo apt install -y git #tig | ||||||
|     sudo apt install -y vim git #tig |     sudo apt install -y vim | ||||||
|  |     sudo apt install -y openssh-server openssh-client mosh | ||||||
|     sudo apt install -y wget curl lftp fping mtr socat |     sudo apt install -y wget curl lftp fping mtr socat | ||||||
| fi | fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user