diff --git a/conf/post_user_create b/hooks/post_user_create similarity index 100% rename from conf/post_user_create rename to hooks/post_user_create diff --git a/conf/post_user_delete b/hooks/post_user_delete similarity index 100% rename from conf/post_user_delete rename to hooks/post_user_delete diff --git a/conf/post_user_update b/hooks/post_user_update similarity index 100% rename from conf/post_user_update rename to hooks/post_user_update diff --git a/scripts/install b/scripts/install index d741b54..eafdab8 100755 --- a/scripts/install +++ b/scripts/install @@ -62,9 +62,6 @@ setfacl -R -m g:all_users:rwx,d:g:all_users:rwx $datadir/share ynh_script_progression --message="Adding a configuration file..." --time --weight=1 ynh_add_config --template="smb.conf" --destination="/etc/samba/smb.conf" -ynh_add_config --template="post_user_create" --destination="/etc/yunohost/hooks.d/post_user_create/$app" -ynh_add_config --template="post_user_delete" --destination="/etc/yunohost/hooks.d/post_user_delete/$app" -ynh_add_config --template="post_user_update" --destination="/etc/yunohost/hooks.d/post_user_update/$app" #================================================ # INTEGRATE SERVICE IN YUNOHOST