Skip to content

Commit

Permalink
Added default minecraft jargroup on install.
Browse files Browse the repository at this point in the history
  • Loading branch information
IronTetsubo committed Jun 7, 2013
1 parent abdc13c commit a39e194
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions installers/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
}
Expand All @@ -162,5 +168,6 @@ function install_msm() {
install_init
enable_init
update_msm
setup_jargroup
install_complete
}

0 comments on commit a39e194

Please sign in to comment.