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