Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
@ -23,15 +23,12 @@
#
. cdist-config
set -e
pwd -P >&2
ls >&2
type="$(cat type)"
mode="$(cat mode)"
path="$(cat path)"
path="$(cat destination)"
case "$type" in
directory)
@ -49,6 +46,7 @@ case "$type" in
esac
if [ "$mode" ]; then
if [ -f mode ]; then
echo chmod \"$mode\" \"$path\"
fi
@ -31,4 +31,4 @@ case "$(cat "$__cdist_out_explorers/os")" in
# FIXME: replace id with $destination post-1.0
__file etc-issue --source "$source" --destination "$destination"
__file etc-issue --source "$source" --destination "$destination" --type file