always add source, even if everything went successful...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
914ec3104e
commit
4d2e03b966
1 changed files with 3 additions and 3 deletions
|
@ -168,9 +168,6 @@ if [ -e "${__cdist_object_dir}" ]; then
|
|||
cat "$__cdist_tmp_file"
|
||||
__cdist_exit_err "Aborting due to object conflict."
|
||||
fi
|
||||
|
||||
# Add ourselves, if we're compatible
|
||||
__cdist_object_source_add "${__cdist_object_dir}"
|
||||
else
|
||||
#
|
||||
# Move object into tree:
|
||||
|
@ -180,3 +177,6 @@ else
|
|||
mkdir -p "$__cdist_new_object_base_dir"
|
||||
mv "$__cdist_new_object_dir" "$__cdist_new_object_base_dir"
|
||||
fi
|
||||
|
||||
# Add "I was here message"
|
||||
__cdist_object_source_add "${__cdist_object_dir}"
|
||||
|
|
Loading…
Reference in a new issue