ignore nonexistent files when deleting

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-07-22 00:41:37 +02:00
parent 71c33f4483
commit 4836504ad6

View file

@ -49,6 +49,6 @@ if [ "$state_should" = "present" ]; then
fi
elif [ "$state_should" = "absent" ]; then
if [ "$exists" = "yes" ]; then
echo rm \"$destination\"
echo rm -f \"$destination\"
fi
fi