From c3c1d29a1180d12313ff0d2300890d08cb845066 Mon Sep 17 00:00:00 2001 From: Bram Suurd Date: Thu, 16 May 2024 12:06:11 +0200 Subject: [PATCH] Update iVentoy installation script to handle updates and display error message if no installation is found --- ct/iventoy.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ct/iventoy.sh b/ct/iventoy.sh index 7874f361..08e067ab 100644 --- a/ct/iventoy.sh +++ b/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