feat: create dedicated os.d dir for os specific install

This commit is contained in:
Xavier Logerais 2024-12-20 08:36:00 +00:00
parent 6848c459f7
commit ceb4daf128
3 changed files with 8 additions and 4 deletions

View File

@ -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
View File

@ -0,0 +1,5 @@
#!/bin/bash
for file in os.d/*.bash; do
bash $file
done

View File

@ -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