Browse Source

Update photoprism-v5-install.sh

tweaking
tteckster 2 năm trước cách đây
mục cha
commit
8a697b8174
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      install/photoprism-v5-install.sh

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

@@ -97,9 +97,7 @@ $STD apt-get install -y ffmpeg
 msg_ok "Installed Dependencies"
 msg_ok "Installed Dependencies"
 
 
 msg_info "Setting up Node.js Repository"
 msg_info "Setting up Node.js Repository"
-wget -qL https://deb.nodesource.com/setup_18.x
-$STD bash setup_18.x
-rm setup_18.x
+$STD bash <(curl -fsSL https://deb.nodesource.com/setup_18.x)
 msg_ok "Set up Node.js Repository"
 msg_ok "Set up Node.js Repository"
 
 
 msg_info "Installing Node.js"
 msg_info "Installing Node.js"