|
|
@@ -29,15 +29,6 @@ fn_msg_end(){
|
|
|
if [ -f "/etc/redhat-release" ] && [ ! -f "${filesdir}/bin/lib32/libcurl-gnutls.so.4" ]; then
|
|
|
local fixname="libcurl-gnutls.so.4 missing"
|
|
|
fn_msg_start
|
|
|
- echo -e "downloading libcurl-gnutls.so.4...\c"
|
|
|
- curl=$(curl --fail -o "${filesdir}/bin/lib32/libcurl-gnutls.so.4" "https://github.com/dgibbs64/linuxgsm/raw/master/DontStarveTogether/dependencies/libcurl-gnutls.so.4" 2>&1)
|
|
|
- if [ $? -ne 0 ]; then
|
|
|
- echo -e "\e[0;31mFAIL\e[0m\n"
|
|
|
- echo "${curl}"
|
|
|
- echo -e "${githuburl}\n"
|
|
|
- exit
|
|
|
- else
|
|
|
- echo -e "\e[0;32mOK\e[0m"
|
|
|
- fi
|
|
|
+ ln -s "/usr/lib/libcurl.so.4" "${filesdir}/bin/lib32/libcurl-gnutls.so.4"
|
|
|
fn_msg_end
|
|
|
fi
|