diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index 0428a46c..e78f99a0 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -303,16 +303,16 @@ function gnusocial_set_expire_months { } function configure_interactive_gnusocial { - W=(1 $"Set a background image" - 2 $"Set the title" - 3 $"Set post expiry period (currently $GNUSOCIAL_EXPIRE_MONTHS months)" - 4 $"Select Qvitter user interface" - 5 $"Select Pleroma user interface" - 6 $"Select Classic user interface") - read_config_param GNUSOCIAL_EXPIRE_MONTHS while true do + W=(1 $"Set a background image" + 2 $"Set the title" + 3 $"Set post expiry period (currently $GNUSOCIAL_EXPIRE_MONTHS months)" + 4 $"Select Qvitter user interface" + 5 $"Select Pleroma user interface" + 6 $"Select Classic user interface") + # shellcheck disable=SC2068 selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"GNU Social" --menu $"Choose an operation, or ESC to exit:" 15 60 6 "${W[@]}" 3>&2 2>&1 1>&3) diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index eb8549c5..51e25964 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -317,16 +317,16 @@ function postactiv_set_expire_months { } function configure_interactive_postactiv { - W=(1 $"Set a background image" - 2 $"Set the title" - 3 $"Set post expiry period (currently $POSTACTIV_EXPIRE_MONTHS months)" - 4 $"Select Qvitter user interface" - 5 $"Select Pleroma user interface" - 6 $"Select Classic user interface") - read_config_param "POSTACTIV_EXPIRE_MONTHS" while true do + W=(1 $"Set a background image" + 2 $"Set the title" + 3 $"Set post expiry period (currently $POSTACTIV_EXPIRE_MONTHS months)" + 4 $"Select Qvitter user interface" + 5 $"Select Pleroma user interface" + 6 $"Select Classic user interface") + # shellcheck disable=SC2068 selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"PostActiv" --menu $"Choose an operation, or ESC to exit:" 15 60 6 "${W[@]}" 3>&2 2>&1 1>&3)