Tidy up sourcing code

This commit is contained in:
Marcus Whybrow 2012-11-03 22:35:11 +00:00
parent b070eeb4d1
commit af7f7de77a
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,5 @@
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
source /tmp/msmcommon.sh && rm -f /tmp/msmcommon.sh
function update_system_packages() {
install_log "Updating sources"

3
installers/redhat.sh Normal file → Executable file
View File

@ -1,6 +1,5 @@
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
source /tmp/msmcommon.sh && rm -f /tmp/msmcommon.sh
function update_system_packages() {
install_log "Updating sources"