Author: soliton
Date: Tue May 19 21:02:13 2009
New Revision: 35758
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35758&view=rev
Log:
added a check for the GPL
Modified:
trunk/utils/mp-server/run_campaignd
Modified: trunk/utils/mp-server/run_campaignd
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/mp-server/run_campaignd?rev=35758&r1=35757&r2=35758&view=diff
==============================================================================
--- trunk/utils/mp-server/run_campaignd (original)
+++ trunk/utils/mp-server/run_campaignd Tue May 19 21:02:13 2009
@@ -27,6 +27,7 @@
SERVERBASE=$HOME/campaignd/$VERSION
[ -d "$SERVERBASE" ] || die "Server '$VERSION' not found."
+[ -r "$SERVERBASE"/COPYING.txt ] || die "GPL file (COPYING.txt) is missing."
[ -d "$SERVERBASE/data" ] || die "Server '$VERSION' has no data/ dir."
[ -d "$SERVERBASE/logs" ] || mkdir $SERVERBASE/logs
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits