added a check for the GPL
This commit is contained in:
parent
1651550b41
commit
cd61f3f95e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue