Browse Source

changed to symlink

Daniel Gibbs 10 năm trước cách đây
mục cha
commit
243043af90
2 tập tin đã thay đổi với 1 bổ sung10 xóa
  1. BIN
      DontStarveTogether/dependencies/libcurl-gnutls.so.4
  2. 1 10
      functions/fix_dst.sh

BIN
DontStarveTogether/dependencies/libcurl-gnutls.so.4


+ 1 - 10
functions/fix_dst.sh

@@ -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