Browse Source

Update photoprism-v5-install.sh

fix cpu only suffix
tteckster 2 years ago
parent
commit
565e4349ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install/photoprism-v5-install.sh

+ 1 - 1
install/photoprism-v5-install.sh

@@ -133,7 +133,7 @@ if grep -q avx2 /proc/cpuinfo; then
 elif grep -q avx /proc/cpuinfo; then
   suffix="avx-"
 else
-  suffix=""
+  suffix="1"
 fi
 version=$(curl -s https://dl.photoprism.org/tensorflow/amd64/ | grep -o "libtensorflow-amd64-$suffix.*\\.tar.gz" | head -n 1)
 wget -q https://dl.photoprism.org/tensorflow/amd64/$version