From: Dan Brown Date: Tue, 19 Apr 2022 18:54:10 +0000 (+0100) Subject: Cleaned script logged lines a little X-Git-Url: http://source.bookstackapp.com/devops/commitdiff_plain/550e83fd32ca75c678b5e342570459c2f468cc0a Cleaned script logged lines a little --- diff --git a/scripts/installation-ubuntu-22.04.sh b/scripts/installation-ubuntu-22.04.sh index 9510cba..7234e38 100644 --- a/scripts/installation-ubuntu-22.04.sh +++ b/scripts/installation-ubuntu-22.04.sh @@ -5,7 +5,7 @@ echo "This script does not ensure system security." echo "" # Generate a path for a log file to output into for debugging -LOGPATH=$(realpath "bookstack_install_log_$(date +%s).log") +LOGPATH=$(realpath "bookstack_install_$(date +%s).log") # Get the current user running the script SCRIPT_USER="${SUDO_USER:-$USER}" @@ -218,7 +218,7 @@ sleep 1 run_pre_install_checks run_prompt_for_domain_if_required info_msg "" -info_msg "Installing using the domain/IP \"$DOMAIN\"" +info_msg "Installing using the domain or IP \"$DOMAIN\"" info_msg "" sleep 1 @@ -251,9 +251,9 @@ run_configure_apache >> "$LOGPATH" 2>&1 info_msg "----------------------------------------------------------------" info_msg "Setup finished, your BookStack instance should now be installed!" -info_msg "Default login email: admin@admin.com" -info_msg "Default login password: password" -info_msg "Access URL: http://$CURRENT_IP/ or http://$DOMAIN/" -info_msg "BookStack Install Directory: $BOOKSTACK_DIR" -info_msg "Install Script Log: $LOGPATH" +info_msg "- Default login email: admin@admin.com" +info_msg "- Default login password: password" +info_msg "- Access URL: http://$CURRENT_IP/ or http://$DOMAIN/" +info_msg "- BookStack install path: $BOOKSTACK_DIR" +info_msg "- Install script log: $LOGPATH" info_msg "---------------------------------------------------------------"