Since we now skip if VERSION is not grep'ed, we need another option in the case loop.

This commit is contained in:
Pedro Algarvio 2013-02-19 21:15:14 +00:00
parent edd743070e
commit c00032f9ed

View file

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