diff --git a/InitMate.sh b/InitMate.sh index 25b5d39..996d28d 100644 --- a/InitMate.sh +++ b/InitMate.sh @@ -169,8 +169,10 @@ system_update() { # Function to run additional setup run_additional_setup() { - if prompt_yes_no "Do you want to run additional setup scripts?"; then + if prompt_yes_no "Do you want to run program setups? (e.g., Nginx, Certbot)"; then SCRIPT_DIR=$(dirname "$0") + log "Making extensions executable..." + chmod -R +x "$SCRIPT_DIR/extensions" if [[ -f "$SCRIPT_DIR/extender.sh" ]]; then if [[ ! -x "$SCRIPT_DIR/extender.sh" ]]; then log "Making extender.sh executable" @@ -242,7 +244,7 @@ if ! prompt_yes_no "Is this correct?"; then log "Please enter the correct OS and package manager:" read -r OS PKG_MANAGER if [[ $PKG_MANAGER != "apt" && $PKG_MANAGER != "yum" ]]; then - log "Please enter the command to update the package list (e.g., 'apt update' or 'yum update'):" + log "Please enter the command to update the package list (e.g., 'apt update && apt upgrade' or 'yum update'):" read -r UPDATE_CMD log "Please enter the command to install a package (e.g., 'apt install -y' or 'yum install -y'):" read -r INSTALL_CMD