From b002c9eb8f0e89c7a9fc45b41d4b86bd5444e934 Mon Sep 17 00:00:00 2001 From: ljf Date: Sun, 27 Feb 2022 20:22:27 +0100 Subject: [PATCH] [enh] Add acknolegment check --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index bd11c72..bf6403e 100755 --- a/scripts/install +++ b/scripts/install @@ -22,8 +22,14 @@ ynh_abort_if_errors app=$YNH_APP_INSTANCE_NAME +warning=$YNH_APP_ARG_WARNING final_path="/etc/samba" +#================================================= +# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS +#================================================= +test $warning = "1" || ynh_die --message="You should validate the warning" + #================================================= # STORE SETTINGS FROM MANIFEST #=================================================