add centos 7 to DISTRO
authorJohn Malconian <malc@indexdata.com>
Tue, 23 Jun 2015 19:12:54 +0000 (19:12 +0000)
committerJohn Malconian <malc@indexdata.com>
Tue, 23 Jun 2015 19:12:54 +0000 (19:12 +0000)
id-rpm-build/upload-rpms.sh

index 2585586..9450fbe 100755 (executable)
@@ -18,6 +18,8 @@ fi
 if test -z "$DISTRO"; then
        if grep 'release 6' /etc/redhat-release >/dev/null; then
                DISTRO="centos/6"
+        elif grep 'release 7' /etc/redhat-release > /dev/null; then
+                DISTRO="centos/7"
        else
                DISTRO="centos/5.5"
        fi