Update mm-scripts.sh

This commit is contained in:
2023-04-21 19:45:04 -05:00
parent b4fd83f11f
commit fd211da1f8

View File

@@ -840,7 +840,7 @@ SHOWSRVCUPDATES(){
}
MMSETUP(){
function join_by { local IFS="$1"; shift; echo "$*"; }
export NEWT_COLORS=''
srvcs=$(whiptail --title "Media Manager Service Selector" --checklist --separate-output \
"\nPlease select which services to enable for this system:" 0 70 16 \
@@ -855,6 +855,10 @@ MMSETUP(){
"tautulli" "Tautulli (Plex Stats)" ON 3>&1 1>&2 2>&3)
exitstatus=$?
DEPS2="$(join_by , $DEPS)"
echo $DEPS2
for srvc in "${srvcs[@]}"; do
echo "- $srvc"
done