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 #=================================================