[arkdep] Fix migrate_files
A bug was introduced making it not trigger on directories
This commit is contained in:
parent
10d2a544b4
commit
8ac5a9fbb3
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -1048,7 +1048,7 @@ deploy () {
|
|||
if [[ ${#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 ${migrate_files[@]}; do
|
||||
[ ! -f /$file ] && continue
|
||||
[[ ! -e /$file ]] && continue
|
||||
printf "Copying $file\n"
|
||||
cp -r /$file $arkdep_dir/deployments/${data[0]}/rootfs/${file%/*}
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue