Commit Graph

44 Commits

Author SHA1 Message Date
Blaine Motsinger
6f70d7b71f Fix bash variable expansion for Debian installer
Fixes issue #400
2020-09-26 17:02:50 -05:00
Troy Lindsay
da0832178c * [Reference](https://github.com/msmhq/msm/issues/50#issuecomment-7082834) 2020-07-19 10:35:19 -05:00
Kadah
0694e5dc74
Enable universe repository on Ubuntu for jq package 2018-10-04 15:22:56 -07:00
Ben Pflueg
dc290582eb Fix downloading latest file for minecraft jargroup
- Use 'jq' as json interpreter instead of grep regex
- Use latest package format
2018-10-01 19:44:06 +02:00
cptskyhawk
9d2b63f2b5 Update debian.sh
Update debian.sh script to eliminate "Cannot make directory '/var/run/screen': Permission denied" error on startup with Ubuntu 14.04 -- more information: https://bugs.launchpad.net/ubuntu/+source/screen/+bug/1380080
2015-08-06 10:13:24 -05:00
Blaine Motsinger
40e73a20e6 Changed default target to minecraft in common.sh. 2015-07-22 21:30:25 +00:00
Blaine Motsinger
34c20dd869 Updated links for movement of repo, as discussed in #291. Although the links still work without issue, forwarded from the old address, I don't want to make the assumption this will continue into the future. 2015-07-15 16:36:16 +00:00
Blaine Motsinger
d052500658 Merged pull request #214 to address default installation of old version.
Updated common.sh to create default jargroup for stable target, as mentioned in issue #215.
2015-07-14 13:31:45 +00:00
Stewart Johnston
908b1e94a0 Fix #266. Set curl to follow redirects
raw.github.com has moved to ra.githubusercontent.com, but curl does not
follow redirects by default. Adding the -L flag to curl invocations
sets curl to follow redirects.
2014-08-20 11:16:10 +10:00
Akythius
7c1f204a6b Fixed OS detection code. 2014-03-26 20:34:58 +00:00
Björn Richter
239dc3cfc8 Added cron reload after MSM cron file installation 2014-02-22 16:37:19 +01:00
Morgan Terry
61ce58542f Fix variable assignment error 2013-12-21 21:55:55 -07:00
sk4ly
0ef31d12e2 Update common.sh
fixed case sensitivity for system user variable
2013-12-16 01:25:17 -08:00
Brahm
89468ccc19 Added java as a package dependancy for installers/redhat.sh (needed to properly run jars)
Added option to make msm_user account a system account (resolving issue #194)
2013-12-15 18:49:46 -09:00
sk4ly
9ee2974f03 Update redhat.sh 2013-12-15 03:11:01 -09:00
Akythius
56ac65a54b Install wrapper to automatically detect distribution
Detects Linux distribution, downloads and executes corresponding installation script.
2013-11-25 21:52:38 +00:00
Akythius
7f55113f9d Changed hardcoded user home directory from '/opt/msm' to '$msm_dir'
When installing with to a non-standard directory, errors are thrown due to user being created with a home directory that doesn't exist. Fix sets user home directory to $msm_dir instead of '/opt/msm'.
2013-11-24 21:26:13 +00:00
Max Bruckner
064d79ef1c added installer for arch linux 2013-10-03 14:55:53 +02:00
Zach Latta
f3981cf6d4 Merge pull request #160 from IronTetsubo/a39e1948abbe01190d6e9b5472676713557e1910
Add default minecraft jargroup on install
2013-09-13 19:23:29 -07:00
Dave Fallon
cb51632920 Removed cron reloading. Looks like modern distros don't require it. 2013-09-11 22:19:24 -07:00
Dave Fallon
8ab5471321 Fixed issue #199 - set permissions properly for /etc/cron.d/msm 2013-09-10 18:42:39 -07:00
Dave Fallon
12dfb5a1c9 Whoops, fixed UPDATE_URL to use the master branch.
Conflicts:
	installers/debian.sh
	installers/redhat.sh
2013-09-03 22:19:02 -07:00
Dave Fallon
235e8aebdc Set UPDATE_URL in installers and msm.conf
This is to allow for alt repos.
2013-09-03 22:15:27 -07:00
JohannesM
c588922ab1 get rid of the message "No directory, logging in with HOME=/"
While performing operations with the user mineraft a message appears that the home directory is not available.
2013-08-18 18:04:56 +02:00
Dave Fallon
a39e1948ab Added default minecraft jargroup on install. 2013-06-06 23:04:53 -07:00
Marcus Whybrow
aeedd5a2ac Added -d flag to the mktemp command
Apparently this forces mktemp to create a directory.
Fixes #106
2012-11-04 23:15:15 +00:00
Marcus Whybrow
3e89a8a347 Remove exit if useradd command fails
This would be the case if the user already exists
2012-11-03 23:07:03 +00:00
Marcus Whybrow
4a830b3c7a Fix empty input overriding defaults 2012-11-03 23:05:02 +00:00
Marcus Whybrow
b30ce11a96 Stop "selecting default values" overriding them as empty strings 2012-11-03 22:50:25 +00:00
Marcus Whybrow
8c00a47fd7 Fix bug on Ubuntu with mktemp command 2012-11-03 22:35:29 +00:00
Marcus Whybrow
af7f7de77a Tidy up sourcing code 2012-11-03 22:35:11 +00:00
Marcus Whybrow
b070eeb4d1 Switch to download and source common.sh method again 2012-11-03 22:24:25 +00:00
Marcus Whybrow
014ef73ed2 Don't use heredoc for sudo wrapping 2012-11-03 22:20:53 +00:00
Marcus Whybrow
2f41ae5552 Save common.sh, then source it and remove it 2012-11-03 21:31:25 +00:00
Marcus Whybrow
92fef004ef Chcnage install to install_msm
install is already a command
2012-11-03 21:23:15 +00:00
Marcus Whybrow
00a2251823 Move install process to a sourceable function 2012-11-03 21:20:16 +00:00
Matt Sicker
63dc4e223e Fixed typo in common.sh 2012-10-31 11:38:51 -05:00
Marcus Whybrow
471bab8242 Actually execute the install file 2012-09-13 20:06:00 +01:00
Marcus Whybrow
693dfb13fd Make install script accessible via HTTP 2012-09-13 19:55:31 +01:00
Matt Sicker
6967455c8f Added insserv support for Debian install script. 2012-09-02 13:29:17 -05:00
Matt Sicker
526bb07a15 Minecraft user group is created along with user. 2012-09-02 13:16:33 -05:00
Matt Sicker
0f94ed7153 Added do-nothing patch for init script. 2012-09-02 13:02:05 -05:00
Matt Sicker
c191a0cc2d Abstracted install.sh and implemented Debian and Red Hat installs. 2012-09-02 12:45:09 -05:00
Matt Sicker
138ef441ab Split out install script into separate file. 2012-09-02 10:54:24 -05:00