diff --git a/setup/programs/package_manager/apt/packages.sh b/setup/programs/package_manager/apt/packages.sh index 13f3958..5c2515a 100644 --- a/setup/programs/package_manager/apt/packages.sh +++ b/setup/programs/package_manager/apt/packages.sh @@ -1,3 +1,5 @@ +#!/bin/bash + function install { 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 -for package in "${apt_packages[@]}$" +for package in "${apt_packages}$" do install ${package} done diff --git a/setup/programs/package_manager/brew/packages.sh b/setup/programs/package_manager/brew/packages.sh index 6302be5..08a9928 100644 --- a/setup/programs/package_manager/brew/packages.sh +++ b/setup/programs/package_manager/brew/packages.sh @@ -1,3 +1,5 @@ +#!/bin/bash + function install { which $1 &> /dev/null