From ab0cd9430fc270f0f99d21e16c5360173db9b914 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Sep 2011 22:40:12 +0200 Subject: [PATCH] add support for the banner :-) Signed-off-by: Nico Schottelius --- bin/cdist | 61 ++++++++++++++++++++++++--- conf/type/__directory/explorer/exists | 30 ------------- 2 files changed, 56 insertions(+), 35 deletions(-) delete mode 100755 conf/type/__directory/explorer/exists diff --git a/bin/cdist b/bin/cdist index 0a7011b4..ad87b38c 100755 --- a/bin/cdist +++ b/bin/cdist @@ -28,6 +28,21 @@ import shutil import sys import tempfile +BANNER = """ + .. . .x+=:. s + dF @88> z` ^% :8 + '88bu. %8P . . -# -# -# Check whether file exists or not -# - -destination="/$__object_id" - -if [ -e "$destination" ]; then - echo yes -else - echo no -fi