From: Harlan Stenn Date: Tue, 23 Dec 2014 04:34:37 +0000 (+0000) Subject: Update cvo.sh for new CentOS version format X-Git-Tag: NTP_4_2_8P1_BETA1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d432a64d4c149450cbf0c556cd8d0ad74aab9893;p=thirdparty%2Fntp.git Update cvo.sh for new CentOS version format bk: 5498f0ddAB0oBaHeN6l-Wl5BGr32Rg --- diff --git a/sntp/scripts/cvo.sh b/sntp/scripts/cvo.sh index a8d00ef6c..ecd809223 100755 --- a/sntp/scripts/cvo.sh +++ b/sntp/scripts/cvo.sh @@ -45,7 +45,13 @@ case "$#" in set `cat /etc/redhat-release` case "$1" in CentOS) - CVO_OS=centos$3 + case "$2" in + Linux) + CVO_OS=centos$4 + ;; + *) CVO_OS=centos$3 + ;; + esac ;; Fedora) CVO_OS=fedora$3