Added default minecraft jargroup on install.

This commit is contained in:
Dave Fallon 2013-06-06 23:04:53 -07:00
parent abdc13cd12
commit a39e1948ab

View File

@ -144,6 +144,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!"
}
@ -162,5 +168,6 @@ function install_msm() {
install_init
enable_init
update_msm
setup_jargroup
install_complete
}