From 27f163e9fecfed5ad95e9024971e0b9c34e46e00 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 21 Oct 2013 01:02:05 +0100 Subject: [PATCH] Have dotify-action attempt to execute actions --- src/lib/dotify-action.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/dotify-action.sh b/src/lib/dotify-action.sh index a067498..cc68398 100644 --- a/src/lib/dotify-action.sh +++ b/src/lib/dotify-action.sh @@ -3,5 +3,9 @@ dotify-action() { local source="$2" local target="$3" - echo "${action}: $source -> $target" + if [ "$action" == "default" ]; then + action="$DOTIFY_OPT_DEFAULT_ACTION" + fi + + dotify-action-${action} "$source" "$target" }