1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jirafeau_ynh.git synced 2024-09-03 19:35:53 +02:00

Update scripts/upgrade

Co-authored-by: yalh76 <yalh@yahoo.com>
This commit is contained in:
Éric Gaspar 2020-11-10 20:47:22 +01:00 committed by GitHub
parent dcaec5f9b3
commit 157fa25057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ then
# Delete the directory if it's only one character long
if [ ${#dirname} -eq 1 ]
then
ynh_secure_remove "$file"
ynh_secure_remove --file="$file"
fi
done <<< "$(find "$var_root/$type" -maxdepth 1 -mindepth 1 -type d)" # List all first level directories
done