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