~mapperr/dfl

5bfedc67ac0f78263d9bc82df19ef8ba0a9f3262 — mapperr 4 years ago a7cdd37 1.1.1
Fix bug when auto override triggers

If a profile is not specified and auto override take place,
then, after the linking, the processing of deleted links was triggered
without an argument, so it was deleting the override links.
1 files changed, 2 insertions(+), 0 deletions(-)

M dfl
M dfl => dfl +2 -0
@@ 366,8 366,10 @@ elif [ "$command" = "l" ] || [ "$command" = "link" ]; then
    else
        if [ -d "$environment_override" ]; then
            process_profile "$environment_override"
            profile="$environment_override"
        elif [ -d "$environment_hostname" ]; then
            process_profile "$environment_hostname"
            profile="$environment_hostname"
        fi
    fi
    test -d $secrets_profile_name && process_profile $secrets_profile_name