feat: create dedicated os.d dir for os specific install
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bash system-ubuntu.bash
 | 
					bash os.bash
 | 
				
			||||||
bash tools.bash
 | 
					bash tools.bash
 | 
				
			||||||
bash fonts.bash
 | 
					bash fonts.bash
 | 
				
			||||||
bash config.bash
 | 
					bash config.bash
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								os.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								os.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					for file in os.d/*.bash; do
 | 
				
			||||||
 | 
					  bash $file
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
@@ -1,10 +1,9 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ( grep -q Ubuntu <(lsb_release -i) )
 | 
					if (grep -q Ubuntu <(lsb_release -i)); then
 | 
				
			||||||
then
 | 
					 | 
				
			||||||
    sudo apt update
 | 
					    sudo apt update
 | 
				
			||||||
    sudo apt upgrade -y
 | 
					    sudo apt upgrade -y
 | 
				
			||||||
    
 | 
					
 | 
				
			||||||
    sudo apt install -y coreutils grep less tar tree
 | 
					    sudo apt install -y coreutils grep less tar tree
 | 
				
			||||||
    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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user