Make clear that configuration has not been overwritten if no-overwrite is present

This commit is contained in:
Simon Pamies committed 2013-06-18 10:10:37 +02:00
1 parent b7b2af46a0
commit 23cf52d39a
1 file changed
+4 -1
+4 -1
View File
@@ -383,7 +383,7 @@ if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
sed -i "s/expedition.udp.port=.*$/expedition.udp.port=$EXPEDITION_PORT/g" $ACDIR/configuration/config.ini
sed -i "s/replication.exchangeName=.*$/replication.exchangeName=$REPLICATION_CHANNEL/g" $ACDIR/configuration/config.ini
echo "I have updated the configuration with the following data:"
echo "I have read the following configuration from $ACDIR/env.sh:"
echo "SERVER_NAME: $SERVER_NAME"
echo "SERVER_PORT: $SERVER_PORT"
echo "MEMORY: $MEMORY"
@@ -393,6 +393,9 @@ if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
echo "REPLICATION_CHANNEL: $REPLICATION_CHANNEL"
echo ""
if [ -f $ACDIR/no-overwrite ]; then
echo "ATTENTION: I found the file $ACDIR/no-overwrite. This means that I did NOT use env.sh from this branch."
fi
echo "Installation complete. You may now start the server using ./start"
fi