mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Fixed typo cat instead of cut
This commit is contained in:
parent
7929099751
commit
f6150910a2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ else
|
||||||
distro=$(head -n1 /etc/issue | cut -f 1 -d ' ')
|
distro=$(head -n1 /etc/issue | cut -f 1 -d ' ')
|
||||||
if [ "$distro" = 'Debian' ]; then
|
if [ "$distro" = 'Debian' ]; then
|
||||||
OS="Debian"
|
OS="Debian"
|
||||||
VERSION=$(cut /etc/debian_version)
|
VERSION=$(cat /etc/debian_version)
|
||||||
else
|
else
|
||||||
OS='UNKNOWN'
|
OS='UNKNOWN'
|
||||||
VERSION='UNKNOWN'
|
VERSION='UNKNOWN'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue