Browse Source

Update photoprism-v5-install.sh

fix cpu only suffix
tteckster 2 năm trước cách đây
mục cha
commit
565e4349ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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