diff --git a/ct/uhf.sh b/ct/uhf.sh index f2650ea8..4a6c4b50 100644 --- a/ct/uhf.sh +++ b/ct/uhf.sh @@ -31,13 +31,14 @@ function update_script() { systemctl stop uhf-server msg_ok "Stopped ${APP}" - msg_info "Updating ${APP}" fetch_and_deploy_gh_release "comskip" "swapplications/comskip" "prebuild" "latest" "/opt/comskip" "comskip-x64-*.zip" fetch_and_deploy_gh_release "uhf-server" "swapplications/uhf-server-dist" "prebuild" "latest" "/opt/uhf-server" "UHF.Server-linux-x64-*.zip" msg_info "Starting ${APP}" systemctl start uhf-server msg_ok "Started ${APP}" + + msg_ok "Updated Successfully" exit } diff --git a/install/uhf-install.sh b/install/uhf-install.sh index a60d3c36..8b9ddf84 100644 --- a/install/uhf-install.sh +++ b/install/uhf-install.sh @@ -29,6 +29,7 @@ DB_PATH=/var/lib/uhf-server/data/db.json LOG_LEVEL=INFO EOF msg_ok "Set Up UHF Server Environment" + fetch_and_deploy_gh_release "comskip" "swapplications/comskip" "prebuild" "latest" "/opt/comskip" "comskip-x64-*.zip" fetch_and_deploy_gh_release "uhf-server" "swapplications/uhf-server-dist" "prebuild" "latest" "/opt/uhf-server" "UHF.Server-linux-x64-*.zip"