mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-03 12:37:38 +00:00
fix basename for curl
This commit is contained in:
@ -33,7 +33,7 @@ function update_script() {
|
||||
|
||||
msg_info "Updating PhotoPrism"
|
||||
$STD apt-get install -y libvips42
|
||||
curl -fsSL "-cO - https://dl.photoprism.app/pkg/linux/amd64.tar.gz | tar -xzf - -C /opt/photoprism --strip-components=1" -O $(basename "-cO - https://dl.photoprism.app/pkg/linux/amd64.tar.gz | tar -xzf - -C /opt/photoprism --strip-components=1")
|
||||
curl -fsSL "-cO - https://dl.photoprism.app/pkg/linux/amd64.tar.gz | tar -xzf - -C /opt/photoprism --strip-components=1" -o $(basename"-cO - https://dl.photoprism.app/pkg/linux/amd64.tar.gz | tar -xzf - -C /opt/photoprism --strip-components=1")
|
||||
msg_ok "Updated PhotoPrism"
|
||||
|
||||
msg_info "Starting PhotoPrism"
|
||||
@ -50,4 +50,4 @@ description
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2342${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2342${CL}"
|
||||
|
Reference in New Issue
Block a user