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:
parent
8540860ab8
commit
5ae853a905
|
@ -159,7 +159,7 @@ linux_installdeps() {
|
||||||
archlinux_installdeps
|
archlinux_installdeps
|
||||||
elif [ -f /etc/solus-release ]; then
|
elif [ -f /etc/solus-release ]; then
|
||||||
solus_installdeps
|
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
|
suse_installdeps
|
||||||
else
|
else
|
||||||
error "Don't know how to install deps on your version of Linux"
|
error "Don't know how to install deps on your version of Linux"
|
||||||
|
@ -495,7 +495,7 @@ suse_installdeps() {
|
||||||
installing
|
installing
|
||||||
|
|
||||||
check sudo zypper in -y gcc gcc-c++ binutils make cmake nasm ffmpeg2-devel gettext-tools libpng16-devel \
|
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
|
build_instructions
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue