about summary refs log tree commit diff stats
path: root/install-all.sh
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-07-21 00:39:53 +0100
committerJames Booth <boothj5@gmail.com>2015-07-21 00:39:53 +0100
commitfceec61a2c5cc323b4f7c1a8b4ffbe01b458c781 (patch)
treecb95fa50598518f6ad9cca339353535d6ddc12ed /install-all.sh
parentf736a248f741c0ce6eb49606edd1296456de201c (diff)
downloadprofani-tty-fceec61a2c5cc323b4f7c1a8b4ffbe01b458c781.tar.gz
Changed os check ordering in install-all.sh
Diffstat (limited to 'install-all.sh')
-rwxr-xr-xinstall-all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-all.sh b/install-all.sh
index d98819c7..f302de4d 100755
--- a/install-all.sh
+++ b/install-all.sh
@@ -167,10 +167,10 @@ if [ "${OS}" = "Linux" ]; then
         DIST=fedora
     elif [ -f /etc/debian_version ]; then
         DIST=debian
-    elif [ -f /etc/os-release ]; then
-        DIST=opensuse
     elif [ -f /etc/centos-release ]; then
         DIST=centos
+    elif [ -f /etc/os-release ]; then
+        DIST=opensuse
     fi
 else
     echo $OS | grep -i cygwin