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

fix upgrade mv

This commit is contained in:
Salamandar 2024-03-05 11:25:58 +01:00
parent bf1a6d6a4e
commit 7d2895989f

View file

@ -48,7 +48,7 @@ fi
if [ -f "$install_dir/requirements.txt" ]; then
mkdir "$install_dir/sources"
# Move to $install_dir/sources
find "$install_dir" -maxdepth 1 -mindepth 1 -not -name sources -exec mv {} "$install_dir/sources" +
find "$install_dir" -maxdepth 1 -mindepth 1 -not -name sources -exec mv -t "$install_dir/sources" {} +
mv "$install_dir/sources/envs" "$install_dir"
fi