forked from ungleich-public/cdist
[type/__file] Fix --state pre-exists
This commit is contained in:
parent
2885c6a248
commit
367da4b77e
1 changed files with 0 additions and 5 deletions
|
@ -87,11 +87,6 @@ case "$state_should" in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
pre-exists)
|
|
||||||
# pre-exists should never reach gencode-remote…
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
|
|
||||||
absent)
|
absent)
|
||||||
if [ "$type" = "file" ]; then
|
if [ "$type" = "file" ]; then
|
||||||
echo "rm -f '$destination'"
|
echo "rm -f '$destination'"
|
||||||
|
|
Loading…
Reference in a new issue