Skip to content
Snippets Groups Projects
Commit 3eae6c84 authored by Edileuton Henrique de Oliveira's avatar Edileuton Henrique de Oliveira
Browse files

agent: Fix distro collect on Fedora

parent 55591ca1
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ if test -f "/etc/le_version"; then ...@@ -25,7 +25,7 @@ if test -f "/etc/le_version"; then
printf "Linux Educacional $(cat /etc/le_version)\n" printf "Linux Educacional $(cat /etc/le_version)\n"
elif test "${DISTRO}" = "Ubuntu" -a -f "/usr/lib/edu/fbedu/tutorial.htm"; then elif test "${DISTRO}" = "Ubuntu" -a -f "/usr/lib/edu/fbedu/tutorial.htm"; then
printf "Linux Educacional\n" printf "Linux Educacional\n"
elif test "${DISTRO}" = "Mandriva"; then elif test "${DISTRO}" = "Mandriva" -o "${DISTRO}" = "Fedora"; then
head -n 1 /etc/issue head -n 1 /etc/issue
elif test "${DISTRO}" = "Welcome"; then elif test "${DISTRO}" = "Welcome"; then
cut -sd "\\" -f1 /etc/issue | cut -d ' ' -f3- cut -sd "\\" -f1 /etc/issue | cut -d ' ' -f3-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment