From c00032f9edbbd68146ce04d51669a82f735c4328 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Tue, 19 Feb 2013 21:15:14 +0000 Subject: [PATCH] Since we now skip if `VERSION` is not `grep`'ed, we need another option in the case loop. --- bootstrap-salt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 3f0accb..7507dca 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -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