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

This commit is contained in:
Bram Suurd 2024-05-16 12:06:11 +02:00
parent 0eecb5440f
commit c3c1d29a11

View file

@ -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