From b38ce2c56d8cdd0bfd3e243e19647ea2f4456a3f Mon Sep 17 00:00:00 2001 From: K4YT3X Date: Wed, 2 Sep 2020 13:54:58 -0400 Subject: [PATCH] fixed gifski build issue by downloading the newest cargo directly --- src/video2x_setup_ubuntu.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/video2x_setup_ubuntu.sh b/src/video2x_setup_ubuntu.sh index 7df6762..d4fc64a 100755 --- a/src/video2x_setup_ubuntu.sh +++ b/src/video2x_setup_ubuntu.sh @@ -2,7 +2,7 @@ # Name: Video2X Setup Script (Ubuntu) # Creator: K4YT3X # Date Created: June 5, 2020 -# Last Modified: July 25, 2020 +# Last Modified: September 2, 2020 # help message if input is incorrect of if -h/--help is specified if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$#" -gt 2 ]; then @@ -55,7 +55,9 @@ python3.8 -m pip install -U -r $INSTALLATION_PATH/video2x/src/requirements.txt mkdir -v -p $INSTALLATION_PATH/video2x/src/dependencies # install gifski -apt-fast install -y --no-install-recommends cargo +# cargo from APT might be outdate and will result in gifski components not being built successfully +# apt-fast install -y --no-install-recommends cargo +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y cargo install gifski # install waifu2x-caffe