mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
styling: remove 2 unnecessarily added new lines
This commit is contained in:
parent
5972982747
commit
32f3179e9f
1 changed files with 0 additions and 2 deletions
|
@ -985,7 +985,6 @@ __gather_linux_system_info() {
|
|||
|
||||
n=$(echo "${rsource}" | sed -e 's/[_-]release$//' -e 's/[_-]version$//')
|
||||
shortname=$(echo "${n}" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
if [ "$shortname" = "debian" ]; then
|
||||
rv=$(__derive_debian_numeric_version "$(cat /etc/${rsource})")
|
||||
else
|
||||
|
@ -993,7 +992,6 @@ __gather_linux_system_info() {
|
|||
fi
|
||||
[ "${rv}" = "" ] && [ "$shortname" != "arch" ] && continue # There's no version information. Continue to next rsource
|
||||
v=$(__parse_version_string "$rv")
|
||||
|
||||
case $shortname in
|
||||
redhat )
|
||||
if [ "$(egrep 'CentOS' /etc/${rsource})" != "" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue