diff --git a/install.sh b/install.sh index e869982..cb76db5 100755 --- a/install.sh +++ b/install.sh @@ -50,7 +50,7 @@ verif() { if [[ $? -gt 0 ]]; then echo "Error! Exit." exit 1 - fi + fi } error() { @@ -385,7 +385,7 @@ action() { [ ! -e "$MAKE" ] && error "make not found" if [ -e "$DESTINATION/nalc.conf" ]; then - read -p "Previous installation is detected. Do you want to load previous settings? [Y/n] " continue + read -p "Previous installation is detected. Do you want to load previous settings? [Y/n] " continue if [ -z $continue ] || [[ "$continue" =~ ^[yY][eE][sS]|[yY]$ ]]; then load_conf "$DESTINATION/nalc.conf" fi @@ -410,9 +410,9 @@ action() { echo "Installation summary:" echo -e "\t- Server files will be downloaded from $URL" echo -e "\t- NALC server will be installed to $DESTINATION." + echo -e "\t- The $MINETEST_DIR directory will be used." echo -e "\t- World of NALC will be installed to $MINETEST_DIR/worlds/$WORLD_NAME" echo -e "\t- The minetestserver executable $MINETEST_BIN will be used." - echo -e "\t- The $MINETEST_DIR directory will be used." echo -e "\t- $MAP_BACKEND will be used as map backend." echo -e "\t- $PLAYER_BACKEND will be used as player backend." echo -e "\t- $AUTH_BACKEND will be used as auth backend."