collect: Fix distro collect on Fedora

Signed-off-by: 's avatarEdileuton Henrique de Oliveira <eho09@c3sl.ufpr.br>
parent f56262f5
......@@ -25,7 +25,7 @@ if test -f "/etc/le_version"; then
printf "Linux Educacional $(cat /etc/le_version)\n"
elif test "${DISTRO}" = "Ubuntu" -a -f "/usr/lib/edu/fbedu/tutorial.htm"; then
printf "Linux Educacional\n"
elif test "${DISTRO}" = "Mandriva"; then
elif test "${DISTRO}" = "Mandriva" -o "${DISTRO}" = "Fedora"; then
head -n 1 /etc/issue
elif test "${DISTRO}" = "Welcome"; then
cut -sd "\\" -f1 /etc/issue | cut -d ' ' -f3-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment