mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Save common.sh, then source it and remove it
This commit is contained in:
parent
92fef004ef
commit
2f41ae5552
@ -153,7 +153,6 @@ function install_msm() {
|
|||||||
# These functions are defined in another script
|
# These functions are defined in another script
|
||||||
# after which this script is sourced
|
# after which this script is sourced
|
||||||
sudo sh <<SCRIPT
|
sudo sh <<SCRIPT
|
||||||
|
|
||||||
config_installation
|
config_installation
|
||||||
update_system_packages
|
update_system_packages
|
||||||
install_dependencies
|
install_dependencies
|
||||||
@ -168,6 +167,6 @@ function install_msm() {
|
|||||||
enable_init
|
enable_init
|
||||||
update_msm
|
update_msm
|
||||||
install_complete
|
install_complete
|
||||||
|
SCRIPT
|
||||||
|
|
||||||
SCRIPT
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
source <(wget -qO- https://raw.github.com/marcuswhybrow/minecraft-server-manager/master/installers/common.sh)
|
wget -q https://raw.github.com/marcuswhybrow/minecraft-server-manager/master/installers/common.sh -O /tmp/msmcommon.sh
|
||||||
|
source /tmp/msmcommon.sh
|
||||||
|
rm -f /tmp/msmcommon.sh
|
||||||
|
|
||||||
function update_system_packages() {
|
function update_system_packages() {
|
||||||
install_log "Updating sources"
|
install_log "Updating sources"
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
source <(wget -qO- https://raw.github.com/marcuswhybrow/minecraft-server-manager/master/installers/common.sh)
|
wget -q https://raw.github.com/marcuswhybrow/minecraft-server-manager/master/installers/common.sh -O /tmp/msmcommon.sh
|
||||||
|
source /tmp/msmcommon.sh
|
||||||
|
rm -f /tmp/msmcommon.sh
|
||||||
|
|
||||||
function update_system_packages() {
|
function update_system_packages() {
|
||||||
install_log "Updating sources"
|
install_log "Updating sources"
|
||||||
|
Loading…
Reference in New Issue
Block a user