Update the correct message in script
This commit is contained in:
parent
2641c82bc1
commit
0dbd12bdfa
@ -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
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user