remove check whether object already exists
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
ab76355128
commit
0a028785c3
1 changed files with 4 additions and 4 deletions
|
@ -53,10 +53,10 @@ __cdist_parameter_dir="$(__cdist_object_parameter_dir "$__cdist_object")"
|
||||||
# Append id for error messages
|
# Append id for error messages
|
||||||
__cdist_myname="$__cdist_myname ($__cdist_object_id)"
|
__cdist_myname="$__cdist_myname ($__cdist_object_id)"
|
||||||
|
|
||||||
if [ -e "${__cdist_ddir}" ]; then
|
# if [ -e "${__cdist_ddir}" ]; then
|
||||||
source="$(__cdist_object_source "${__cdist_ddir}")"
|
# source="$(__cdist_object_source "${__cdist_ddir}")"
|
||||||
__cdist_exit_err "${__cdist_object} already exists (source: $source)"
|
# __cdist_exit_err "${__cdist_object} already exists (source: $source)"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
mkdir -p "${__cdist_ddir}"
|
mkdir -p "${__cdist_ddir}"
|
||||||
mkdir -p "${__cdist_parameter_dir}"
|
mkdir -p "${__cdist_parameter_dir}"
|
||||||
|
|
Loading…
Reference in a new issue