1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
freshrss_ynh/hooks/post_user_delete
2021-04-17 13:26:50 -04:00

10 lines
220 B
Bash
Executable file

#!/usr/bin/env bash
set -a
source /usr/share/yunohost/helpers
app="${0//.\/50-}"
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
username=$1
sudo -u $app $final_path/cli/delete-user.php --user $username