mirror of
https://github.com/YunoHost-Apps/jirafeau_ynh.git
synced 2024-09-03 19:35:53 +02:00
remove sudo
This commit is contained in:
parent
781f5fa244
commit
7d4d0c9d51
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ then
|
|||
if [ "$type" = "files" ]; then
|
||||
mv "${full_file}_count" "$full_path"
|
||||
fi
|
||||
done <<< "$(sudo find "$var_root/$type" -type f)" # List all files, without directories
|
||||
done <<< "$(find "$var_root/$type" -type f)" # List all files, without directories
|
||||
done
|
||||
|
||||
# And clean the old directories
|
||||
|
@ -108,7 +108,7 @@ then
|
|||
then
|
||||
rm -r "$file"
|
||||
fi
|
||||
done <<< "$(sudo find "$var_root/$type" -maxdepth 1 -mindepth 1 -type d)" # List all first level directories
|
||||
done <<< "$(find "$var_root/$type" -maxdepth 1 -mindepth 1 -type d)" # List all first level directories
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue