1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Fix apps directory parsing

This commit is contained in:
Jimmy Monin 2019-03-17 12:43:11 +01:00
parent 567e54289a
commit e8349d8dc9

View file

@ -206,6 +206,7 @@ do
# But do not overwrite if there is any upgrade # But do not overwrite if there is any upgrade
# (apps directory already exists in Nextcloud archive) # (apps directory already exists in Nextcloud archive)
for nc_app_dir in "$(ls "$final_path/apps")" for nc_app_dir in "$(ls "$final_path/apps")"
for nc_app_dir in "$(ls -1 "$final_path/apps")"
do do
if [ ! -d "$tmpdir/apps/$nc_app_dir" ] if [ ! -d "$tmpdir/apps/$nc_app_dir" ]
then then