#!/usr/bin/env bash

usage() {
	echo "Usage: $0 [-a|-p]"
	echo "-a  Configure all (virtualenv and python packages)"
}

all=false
while getopts ":a" o; do
    case "${o}" in
        a)
            all=true
            ;;
        *)
            echo "Unknown option: ${OPTARG}"
            usage
            exit
            ;;
    esac
done

if ${all}; then
    echo Installing fluidsynth and necessary tools
    sudo apt install python3 fluidsynth tightvncserver alsa-tools -y
fi


#!/usr/bin/env bash

usage() {
	echo "Usage: $0 [-a|-p]"
	echo "-a  Configure all (virtualenv and python packages)"
}

packages="python3 fluidsynth alsa-tools"

while getopts ":a" o; do
    case "${o}" in
        a)
            packages=${packages} tightvncserver
            ;;
        *)
            echo "Unknown option: ${OPTARG}"
            usage
            exit
            ;;
    esac
done

echo Installing fluidsynth and necessary tools
sudo apt install ${packages} -y


Add option to only install core funcionality
Add option to only install core funcionality

