summaryrefslogtreecommitdiff
path: root/sntp/scripts/cvo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/scripts/cvo.sh')
-rwxr-xr-xsntp/scripts/cvo.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/sntp/scripts/cvo.sh b/sntp/scripts/cvo.sh
index a8d00ef..ecd8092 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