Bisa / factorio-init

Factorio init script
MIT License
415 stars 82 forks source link

Changed way to get version and arch information #138

Closed jhawkwind closed 5 years ago

jhawkwind commented 5 years ago

On CentOS 7 in very specific circumstances where SELINUX is enabled, the version number parsing gets mangled between contexts with egrep output ignored and can be exasperated depending on the values provided in the "extra arguments"

Get the output of the whole version string running the factorio binary as the user, but parse the output after it comes back to the script as the script user, rather than in the factorio user.

jhawkwind commented 5 years ago

Sorry, nevermind. Let me complete the whole thing and then suggestion a pull.