1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/elabftw_ynh.git synced 2024-09-03 18:26:23 +02:00

fix upgrade: absolute path

This commit is contained in:
Salamandar 2024-03-05 11:25:41 +01:00
parent d767f2cf81
commit 8027cfff9a

View file

@ -17,7 +17,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=
# Move sources to subdir
if [ ! -d "$install_dir/sources" ]; then
mkdir "$install_dir/sources"
find . -mindepth 1 -maxdepth 1 ! -name "sources" -exec mv -t sources "{}" +
find . -mindepth 1 -maxdepth 1 ! -name "sources" -exec mv -t "$install_dir/sources" "{}" +
fi
#=================================================