summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@openmailbox.org>2017-06-09 16:05:11 (GMT)
committerTobias Markmann <tm@ayena.de>2017-06-12 09:56:31 (GMT)
commitcf151bb5244858af53910f9486399f41103ebcc9 (patch)
tree0520fc1ca2ba4349d85615886a292196a23569c4
parentc918e3248f238329700ef68613fb0a4aa6609c83 (diff)
downloadswift-cf151bb5244858af53910f9486399f41103ebcc9.zip
swift-cf151bb5244858af53910f9486399f41103ebcc9.tar.bz2
Add new openSUSE distro identifier
On newer openSUSE distros it will just return 'openSUSE'. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Change-Id: I9ea0866f1a07772f821e9eff51a9895f684bd22e
-rwxr-xr-xBuildTools/InstallSwiftDependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/InstallSwiftDependencies.sh b/BuildTools/InstallSwiftDependencies.sh
index 70fcbe0..378f141 100755
--- a/BuildTools/InstallSwiftDependencies.sh
+++ b/BuildTools/InstallSwiftDependencies.sh
@@ -17,7 +17,7 @@ then
elif [ "$SYSTEM_DISTRO" == "Arch" ]
then
sudo pacman -S qt5-base qt5-x11extras qt5-webkit qt5-multimedia qt5-tools qt5-svg hunspell
- elif [ "$SYSTEM_DISTRO" == "openSUSE project" ] || [ "$SYSTEM_DISTRO" == "SUSE LINUX" ]
+ elif [ "$SYSTEM_DISTRO" == "openSUSE project" ] || [ "$SYSTEM_DISTRO" == "openSUSE" ] || [ "$SYSTEM_DISTRO" == "SUSE LINUX" ]
then
sudo zypper "$@" in --type pattern devel_basis
sudo zypper "$@" in pkg-config libopenssl-devel libQt5Core-devel libQt5WebKit5-devel libQt5WebKitWidgets-devel libqt5-qtmultimedia-devel libqt5-qtx11extras-devel libqt5-qttools-devel libQt5Gui-devel libQt5Network-devel libQt5DBus-devel libQt5Svg-devel libQt5Svg5 python-xml hunspell-devel