#!/bin/bash function config { if [[ ! -s $1 ]]; then echo "Specify a valid properties file." exit 1 fi if [[ -s /usr/share/dom4/current ]]; then game=$( /usr/share/dom4/current cat <> "/usr/share/dom4/config/$game.properties" cat <