fix installdeps for OpenSUSE

Fix syntax error (calling functions from the wrong script) and add
openal-soft-devel to deps.
This commit is contained in:
Rafael Kitover 2018-03-19 02:52:53 -04:00
parent 8540860ab8
commit 5ae853a905
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ linux_installdeps() {
archlinux_installdeps
elif [ -f /etc/solus-release ]; then
solus_installdeps
elif path_exists /etc/os-release && [ "$(. /etc/os-release; puts "$ID_LIKE")" = suse ]; then
elif [ -f /etc/os-release ] && [ "$(. /etc/os-release; echo "$ID_LIKE")" = suse ]; then
suse_installdeps
else
error "Don't know how to install deps on your version of Linux"
@ -495,7 +495,7 @@ suse_installdeps() {
installing
check sudo zypper in -y gcc gcc-c++ binutils make cmake nasm ffmpeg2-devel gettext-tools libpng16-devel \
pkg-config libSDL2-devel sfml2-devel wxWidgets-3_0-devel
pkg-config libSDL2-devel openal-soft-devel sfml2-devel wxWidgets-3_0-devel
build_instructions
}