diff options
Diffstat (limited to 'core/includes/helper/distribution.inc')
-rw-r--r-- | core/includes/helper/distribution.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/includes/helper/distribution.inc b/core/includes/helper/distribution.inc new file mode 100644 index 00000000..f26ca46c --- /dev/null +++ b/core/includes/helper/distribution.inc @@ -0,0 +1,4 @@ +# Get simple distribution name +# This is also being used via ./openslx, not only via ./mltk, +# so it has not been moved to remote/includes. +SYS_DISTRIBUTION=$(lsb_release -is | tr '[A-Z]' '[a-z]' | sed -r 's/[^a-z0-9]//g;s/project$//g;s/scientificsl$/scientific/g') |