Update iVentoy installation script to handle updates and display error message if no installation is found

pull/2988/head
Bram Suurd 1 year ago
parent 0eecb5440f
commit c3c1d29a11
  1. 6
      ct/iventoy.sh

@ -52,6 +52,12 @@ function default_settings() {
echo_default
}
function update_script() {
if [[ ! -d /opt/iventoy ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_error "There is currently no update path available."
exit
}
start
build_container
description

Loading…
Cancel
Save