#!/bin/bash install_defaults_debian() { color_start "themeIndication" echo "--------------------------------" echo "Default installations for Debian" echo "--------------------------------" color_stop sleep 1 for i in "${!default_installs_debian[@]}"; do currentProg=${default_installs_debian[$i]} if [ $( check_installed $currentProg ) -eq 0 ] then install_prog $currentProg else skip_prog $currentProg fi done }