From fb426bd412ed1e0f1843a0bcad9dde939310e948 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 29 Mar 2011 20:10:40 +0200 Subject: [PATCH] __directory type does not have a destination parameter Signed-off-by: Steven Armstrong --- conf/type/__directory/explorer/exists | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/conf/type/__directory/explorer/exists b/conf/type/__directory/explorer/exists index b0be82fc..f8b85671 100755 --- a/conf/type/__directory/explorer/exists +++ b/conf/type/__directory/explorer/exists @@ -21,11 +21,7 @@ # Check whether file exists or not # -if [ -f "$__object/parameter/destination" ]; then - destination="$(cat "$__object/parameter/destination")" -else - destination="/$__object_id" -fi +destination="/$__object_id" if [ -e "$destination" ]; then echo yes