a
This commit is contained in:
parent
b18dbe2fa8
commit
8f3a47332f
1 changed files with 1 additions and 1 deletions
2
init.sh
2
init.sh
|
@ -1,5 +1,5 @@
|
|||
get_distro() {
|
||||
OS=$(cat /etc/*release | grep ID | head -1 | cut -c 4-)
|
||||
OS=$(cat /etc/*release | grep "^ID=" | head -1 | cut -c 4-)
|
||||
echo $OS
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue