Ctrl+C based on Twitter poll..
authorJeff Atwood <jatwood@codinghorror.com>
Mon, 23 May 2016 08:13:24 +0000 (01:13 -0700)
committerJeff Atwood <jatwood@codinghorror.com>
Mon, 23 May 2016 08:13:24 +0000 (01:13 -0700)
https://twitter.com/codinghorror/status/734294838925885440

discourse-setup

index e78de5f549d246a785b2edd0e45e877184cc5c7c..3945a9b32cf78afcb4c9a6f003d77a9a3bebcff9 100755 (executable)
@@ -34,7 +34,7 @@ check_disk_and_memory() {
       echo "Without sufficient swap space, your site may not work properly, and future"
       echo "upgrades of Discourse may not complete successfully."
       echo
-      read -p "ENTER to create a 2GB swapfile now, or Ctrl-C to exit"
+      read -p "ENTER to create a 2GB swapfile now, or Ctrl+C to exit"
       
       ##
       ## derived from https://meta.discourse.org/t/13880
@@ -273,7 +273,7 @@ ask_user_for_config() {
     fi
     
     echo ""
-    read -p "ENTER to continue, 'n' to try again, or ^C to exit: " config_ok
+    read -p "ENTER to continue, 'n' to try again, Ctrl+C to exit: " config_ok
   done
 
   sed -i -e "s/^  DISCOURSE_HOSTNAME:.*/  DISCOURSE_HOSTNAME: $hostname/w $changelog" $config_file