fix a typo

This commit is contained in:
OniriCorpe 2024-04-05 23:18:36 +02:00 committed by GitHub
parent 69e6a7aaa5
commit c8c4af8ee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -843,7 +843,7 @@ ynh_get_debian_release() {
_acceptable_path_to_delete() { _acceptable_path_to_delete() {
local file=$1 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 ... # Legacy : A couple apps still have data in /home/$app ...
if [[ -n "${app:-}" ]] if [[ -n "${app:-}" ]]