Merge pull request #224 from Akythius/patch-1

Changed hardcoded user home directory from '/opt/msm' to '$msm_dir'
This commit is contained in:
Zach Latta 2013-11-24 13:38:00 -08:00
commit 4461774cc6

View File

@ -55,7 +55,7 @@ function install_dependencies() {
function add_minecraft_user() {
install_log "Creating default user '${msm_user}'"
sudo useradd ${msm_user} \
--home /opt/msm
--home "$msm_dir"
}
# Verifies existence and permissions of msm server directory (default /opt/msm)