Fixed typo cat instead of cut

This commit is contained in:
Serghey Rodin 2013-10-23 10:42:17 +03:00
commit f6150910a2

View file

@ -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'