diff --git a/arkdep b/arkdep index 9005f0d..13d4e44 100755 --- a/arkdep +++ b/arkdep @@ -672,9 +672,11 @@ deploy () { # If backup_user_accounts is enabled automatically perform a backup if [[ $backup_user_accounts -eq 1 ]]; then + printf '\e[1;34m-->\e[0m\e[1m Copying user account files if changed\e[0m\n' + for file in passwd shadow group; do if ! cmp --silent $arkdep_dir/overlay/etc/$file /etc/$file; then - cp /etc/$file $arkdep_dir/overlay/etc/$file + cp -v /etc/$file $arkdep_dir/overlay/etc/$file fi done