From 7d0671e5290539362f9796f7176232c9aa69d13a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 9 Jan 2012 15:26:49 +0100 Subject: [PATCH] force removal - to not trigger rm -i behaviour in type Signed-off-by: Nico Schottelius --- conf/type/__directory/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/type/__directory/gencode-remote b/conf/type/__directory/gencode-remote index e9feecf4..19591266 100755 --- a/conf/type/__directory/gencode-remote +++ b/conf/type/__directory/gencode-remote @@ -62,7 +62,7 @@ case "$state_should" in absent) # Only delete if it exists if [ yes = "$(cat "$__object/explorer/exists")" ]; then - echo rm -r \"$destination\" + echo rm -rf \"$destination\" fi ;;