added a check for the GPL

This commit is contained in:
Gunter Labes 2009-05-19 19:02:13 +00:00
parent 1651550b41
commit cd61f3f95e

View file

@ -27,6 +27,7 @@ esac
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