From c62cf4aea6e40834580519148f3a2a73d72e5084 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 3 May 2022 07:05:35 -0400 Subject: [PATCH] Update photoprism-install.sh --- setup/photoprism-install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup/photoprism-install.sh b/setup/photoprism-install.sh index 80716401..4d39c9da 100644 --- a/setup/photoprism-install.sh +++ b/setup/photoprism-install.sh @@ -91,11 +91,13 @@ if [[ "$AVX" == "avx2" ]]; then wget https://dl.photoprism.org/tensorflow/linux/libtensorflow-linux-avx2-1.15.2.tar.gz &>/dev/null tar -C /usr/local -xzf libtensorflow-linux-avx2-1.15.2.tar.gz &>/dev/null ldconfig &>/dev/null - elif [[ "$AVX" == "avx" ]]; then +fi +if [[ "$AVX" == "avx" ]]; then wget https://dl.photoprism.org/tensorflow/linux/libtensorflow-linux-avx-1.15.2.tar.gz &>/dev/null tar -C /usr/local -xzf libtensorflow-linux-avx-1.15.2.tar.gz &>/dev/null ldconfig &>/dev/null - else +fi +if [[ "$AVX" == "" ]]; then wget https://dl.photoprism.org/tensorflow/linux/libtensorflow-linux-cpu-1.15.2.tar.gz &>/dev/null tar -C /usr/local -xzf libtensorflow-linux-cpu-1.15.2.tar.gz &>/dev/null ldconfig &>/dev/null