use stackrc.example, and prompt user before copying
diff --git a/stack.sh b/stack.sh
index 85b7474..54d777a 100755
--- a/stack.sh
+++ b/stack.sh
@@ -59,6 +59,13 @@
# an error. It is also useful for following allowing as the install occurs.
set -o xtrace
+# Use stackrc.example if stackrc is missing
+if [ ! -e ./stackrc ]; then
+ read -n1 -p "No stackrc present. Copy stackrc.example to stackrc? (y/n) "
+ echo
+ [[ $REPLY = [yY] ]] && cp stackrc.example stackrc|| { echo "Aborting: Missing stackrc"; exit 1; }
+fi
+
# Import variables
source ./stackrc