Typo in checking for distro.
authorChris Sharp <csharp@georgialibraries.org>
Wed, 28 Jun 2017 14:29:06 +0000 (10:29 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 28 Jun 2017 14:29:06 +0000 (10:29 -0400)
templates/setup-vars

index 969c3f0..6864676 100644 (file)
@@ -31,7 +31,7 @@ COL_BR_CYAN=$ESC_SEQ"1;36m"
 ### Set install log
 INSTALL_LOG="/var/log/genasys_install.log"
 
-OSDISTRO=$(lsb_release -i | awk '{ print $1 }')
+OSDISTRO=$(lsb_release -i | awk '{ print $3 }')
 OSRELEASE=$(lsb_release -r | awk '{print $2}')
 
 #Set APT tool