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:
parent
d767f2cf81
commit
8027cfff9a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=
|
||||||
# Move sources to subdir
|
# Move sources to subdir
|
||||||
if [ ! -d "$install_dir/sources" ]; then
|
if [ ! -d "$install_dir/sources" ]; then
|
||||||
mkdir "$install_dir/sources"
|
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
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue