Skip to content

Commit

Permalink
Minor string fixes in output messages
Browse files Browse the repository at this point in the history
  • Loading branch information
stablestud committed Apr 12, 2018
1 parent 45b6196 commit 7c26886
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/lib/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ config_ReadConfig()
if [ -z "${http_proxy}" ]; then
export "${_line}"
else
echo "${prefix_warning}Duplicate configuration for 'http_proxy', keeping the first value: ${http_proxy}"
echo "${prefix_warning}'http_proxy' already defined, using: ${http_proxy}"
fi
;;
https_proxy=* )
if [ -z "${https_proxy}" ]; then
export "${_line}"
else
echo "${prefix_warning}Duplicate configuration for 'https_proxy', keeping the first value: ${https_proxy}"
echo "${prefix_warning}'https_proxy' already defined, using: ${https_proxy}"
fi
;;
hosts_file_path=* )
Expand Down
2 changes: 1 addition & 1 deletion src/lib/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ update_FetchSources()
if wget "${_domain}" --show-progress -L --timeout=30 -t 1 -nv -O - >> "${tmp_dir_path}/fetched"; then
_successful_count=$((_successful_count+1))
else
printf "%bwget couldn't fetch: %s\\n" "${prefix_warning}" "${_domain}" 1>&2
printf "%bwget couldn't fetch: %s\\n" "${_domain}" 1>&2
fi
# Is curl installed? If yes download the hosts files.
elif command -v curl 2>/dev/null 1>&2; then
Expand Down

0 comments on commit 7c26886

Please sign in to comment.