Update helpers/app

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
yalh76 2022-03-16 22:47:43 +01:00 committed by GitHub
parent 756e3b292b
commit 3bb8ca2e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ ynh_remove_apps() {
for installed_app in $installed_apps for installed_app in $installed_apps
do do
local installed_app_required_by=$(ynh_app_setting_get --app=$installed_app --key="require_$oneapp") local installed_app_required_by=$(ynh_app_setting_get --app=$installed_app --key="require_$oneapp")
if [[ $installed_app_required_by ]] if [[ -n "$installed_app_required_by" ]]
then then
required_by="${installed_app_required_by}" required_by="${installed_app_required_by}"
fi fi