Fix migration file path
This commit is contained in:
parent
cda9f2e35d
commit
6c67279b70
1 changed files with 2 additions and 1 deletions
3
arkdep
3
arkdep
|
@ -807,7 +807,8 @@ deploy () {
|
|||
if [[ ${#var_migrate_files[@]} -ge 1 ]] && [[ ! -n $ARKDEP_ROOT ]]; then
|
||||
printf '\e[1;34m-->\e[0m\e[1m Migrating local files to new deployment\e[0m\n'
|
||||
for file in ${var_migrate_files[@]}; do
|
||||
cp -rv /var/$file $arkdep_dir/deployments/${data[0]}/rootfs/var/
|
||||
printf "Copying $file\n"
|
||||
cp -r /var/$file $arkdep_dir/deployments/${data[0]}/rootfs/var/${file%/*}
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue