Undomyr / W2ETK

Toolkit for use by Wetware Enterprises Employee in the game Hackmud.
MIT License
0 stars 0 forks source link

Distro Check Function #4

Open Undomyr opened 6 years ago

Undomyr commented 6 years ago

Section of the script that will check for the user's distribution and use this to determine the proper syntax to use in the Dependency Install section. To find the distribution the function DISTRO=`lsb_release -i | cut -f 2-` is used to assign the name of the distribution to a variable for use in the Dependency Install section.

Distibutions that are checked for are;

Undomyr commented 6 years ago

Previous version of centOS (<7) did not come with lsb_release pre-installed. Perhaps check to see if this is still the case?