Merge pull request #160 from IronTetsubo/a39e1948abbe01190d6e9b5472676713557e1910

Add default minecraft jargroup on install
This commit is contained in:
Zach Latta 2013-09-13 19:23:29 -07:00
commit f3981cf6d4

View File

@ -140,6 +140,12 @@ function update_msm() {
sudo /etc/init.d/msm update --noinput
}
# Updates rest of MSM using init script updater
function setup_jargroup() {
install_log "Setup default jar groups"
sudo /etc/init.d/msm jargroup create minecraft https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar
}
function install_complete() {
install_log "Done. Type 'msm help' to get started. Have fun!"
}
@ -157,5 +163,6 @@ function install_msm() {
install_init
enable_init
update_msm
setup_jargroup
install_complete
}