From c8c4af8ee40093cf735490436eeadcd3a61ab2c7 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 5 Apr 2024 23:18:36 +0200 Subject: [PATCH] fix a typo --- helpers/utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/utils b/helpers/utils index df7fb9300..5b286e355 100644 --- a/helpers/utils +++ b/helpers/utils @@ -843,7 +843,7 @@ ynh_get_debian_release() { _acceptable_path_to_delete() { local file=$1 - local forbidden_paths=$(ls -d / /* /{var,home,usr}/* /etc/{default,sudoers.d,yunohost,cron*} /etc/yunohost/{apps,domains,hook.d} /opt/yunohost) + local forbidden_paths=$(ls -d / /* /{var,home,usr}/* /etc/{default,sudoers.d,yunohost,cron*} /etc/yunohost/{apps,domains,hooks.d} /opt/yunohost) # Legacy : A couple apps still have data in /home/$app ... if [[ -n "${app:-}" ]]