Add Update function to OpenProject
This commit is contained in:
parent
126cd903b5
commit
976400af27
@ -23,11 +23,14 @@ function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
if [[ ! -d /var ]]; then
|
||||
if [[ ! -f /etc/openproject/installer.dat ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
msg_error "No Update Function Found!"
|
||||
msg_info "Updating ${APP}"
|
||||
$STD apt-get update
|
||||
$STD apt-get apt-get install --only-upgrade -y openproject
|
||||
msg_ok "Updated ${APP}"
|
||||
exit
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user