Browse Source

update gerbera

wareck 2 years ago
parent
commit
2ca6f201a1
1 changed files with 8 additions and 8 deletions
  1. 8 8
      options/build_gerbera.sh

+ 8 - 8
options/build_gerbera.sh

@@ -58,14 +58,14 @@ function version {
 echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }';
 }
 
-function cmake_old {
+function cmake_ {
 echo -e "$(tput setaf 10)\nInstall cmake:$(tput sgr0)"
 if [ -x "$(command -v cmake)" ];then flag=1; else flag=0;fi
 case $flag in
 0)
-	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.25.0-custom-1_amd64.deb
-	sudo dpkg -i cmake_3.25.0-custom-1_amd64.deb
-	rm cmake_3.25.0-custom-1_amd64.deb
+	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.25.2-1_amd64.deb
+	sudo dpkg -i cmake_3.25.2-1_amd64.deb
+	rm cmake_3.25.2-1_amd64.deb
 	;;
 1)
 	cmake_v="$(cmake --version | grep "version" | awk '{print $3}')"
@@ -75,9 +75,9 @@ case $flag in
 	then
 	echo -e "cmake need update=>"
 	sudo apt-get -qq remove --purge cmake -y
-	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.25.0-custom-1_amd64.deb
-	sudo dpkg -i cmake_3.25.0-custom-1_amd64.deb
-	rm cmake_3.25.0-custom-1_amd64.deb
+	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/cmake_3.25.2-1_amd64.deb
+	sudo dpkg -i cmake_3.25.2-1_amd64.deb
+	rm cmake_3.25.2-1_amd64.deb
 	else
 	echo -e "cmake version ok."
 	sleep 2
@@ -87,7 +87,7 @@ case $flag in
 esac
 }
 
-function cmake_ {
+function cmake_source {
 echo -e "$(tput setaf 10)\nInstall cmake:$(tput sgr0)"
 if [ -x "$(command -v cmake)" ];then flag=1; else flag=0;fi
 case $flag in