mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Since we now skip if VERSION
is not grep
'ed, we need another option in the case loop.
This commit is contained in:
parent
edd743070e
commit
c00032f9ed
1 changed files with 3 additions and 0 deletions
|
@ -420,6 +420,9 @@ __gather_linux_system_info() {
|
|||
esac
|
||||
done < /etc/${rsource}
|
||||
;;
|
||||
os )
|
||||
n=$(grep '^NAME=' /etc/os-release | sed -e 's/^NAME=\(.*\)$/\1/g')
|
||||
;;
|
||||
* ) n="${n}" ;
|
||||
esac
|
||||
DISTRO_NAME=$n
|
||||
|
|
Loading…
Add table
Reference in a new issue