fix(setup): update error messages
This commit is contained in:
@@ -141,12 +141,12 @@ create_symlink() {
|
|||||||
elif $IGNORE_EXISTING; then
|
elif $IGNORE_EXISTING; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
error "path already exists:"
|
error "symbolic link already exists:"
|
||||||
error "$dst"
|
error "$dst"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
elif test -e "$dst"; then
|
elif test -e "$dst"; then
|
||||||
error "path already exists and is not a symlink:"
|
error "path already exists that is not a symlink:"
|
||||||
error "${dst}: $(stat -c '%F' -- "$dst")"
|
error "${dst}: $(stat -c '%F' -- "$dst")"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user