remove old --destination parameter from __file explorers

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.1
Nico Schottelius 14 years ago
parent f69802b3d8
commit 501fcf36d1
  1. 6
      conf/type/__file/explorer/cksum
  2. 6
      conf/type/__file/explorer/exists

@ -21,11 +21,7 @@
# Retrieve the md5sum of a file to be created, if it is already existing.
#
if [ -f "$__object/parameter/destination" ]; then
destination="$(cat "$__object/parameter/destination")"
else
destination="/$__object_id"
fi
destination="/$__object_id"
if [ -e "$destination" ]; then
if [ -f "$destination" ]; then

@ -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

Loading…
Cancel
Save