1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00

[enh] Add acknolegment check

This commit is contained in:
ljf 2022-02-27 20:22:27 +01:00
parent e64399f782
commit b002c9eb8f

View file

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