Fixing bug

This commit is contained in:
araison 2024-01-21 19:54:19 +01:00
parent b93dff0504
commit e7f94e5464
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
function install { function install {
which $1 &> /dev/null which $1 &> /dev/null
@ -11,11 +13,11 @@ function install {
declare -a apt_packages = ( "curl" "exfat-utils" "git" "htop" "tmux" "gimp" "inkscape" "texlive-full" "stow" "vlc" "blender" "gparted" "docker.io" "docker-compose" "python3-pip" "wget" "tree" "universal-ctags" ) apt_packages=( "curl" "exfat-utils" "git" "htop" "tmux" "gimp" "inkscape" "texlive-full" "stow" "vlc" "blender" "gparted" "docker.io" "docker-compose" "python3-pip" "wget" "tree" "universal-ctags" )
sudo apt update sudo apt update
for package in "${apt_packages[@]}$" for package in "${apt_packages}$"
do do
install ${package} install ${package}
done done

View File

@ -1,3 +1,5 @@
#!/bin/bash
function install { function install {
which $1 &> /dev/null which $1 &> /dev/null