diff --git a/ct/fileflows.sh b/ct/fileflows.sh index 45a03faa1..27cdfd6fc 100644 --- a/ct/fileflows.sh +++ b/ct/fileflows.sh @@ -45,13 +45,7 @@ header_info tar -czf "$backup_filename" -C /opt/fileflows Data msg_ok "Backup Created" - msg_info "Updating $APP to latest version" - temp_file=$(mktemp) - curl -fsSL https://fileflows.com/downloads/zip -o "$temp_file" - $STD unzip -o -d /opt/fileflows "$temp_file" - rm -rf "$temp_file" - rm -rf "$backup_filename" - msg_ok "Updated $APP to latest version" + fetch_and_deploy_archive "https://fileflows.com/downloads/zip" "/opt/fileflows" msg_info "Starting Service" systemctl start fileflows diff --git a/install/fileflows-install.sh b/install/fileflows-install.sh index 81ecfd1ac..a402560a5 100644 --- a/install/fileflows-install.sh +++ b/install/fileflows-install.sh @@ -32,7 +32,7 @@ msg_info "Installing ASP.NET Core Runtime" $STD apt install -y aspnetcore-runtime-8.0 msg_ok "Installed ASP.NET Core Runtime" -msg_info "Setup FileFlows" +msg_info "Setting up FileFlows" $STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg $STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe cd /opt/fileflows/Server