aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <np.hardass@gmail.com>2017-09-15 01:50:49 -0400
committerNP-Hardass <np.hardass@gmail.com>2017-09-15 01:50:49 -0400
commitca5f6b9bcea86266f3c0f256b38f1e97a08269cc (patch)
tree2ab2f8471903a31db5c545c302def0c416370d33
parentwine.eselect: update valid dirs check in are_symlinks_valid() (diff)
downloadeselect-wine-ca5f6b9bcea86266f3c0f256b38f1e97a08269cc.tar.gz
eselect-wine-ca5f6b9bcea86266f3c0f256b38f1e97a08269cc.tar.bz2
eselect-wine-ca5f6b9bcea86266f3c0f256b38f1e97a08269cc.zip
wine.eselect: fix typo write_warning_message
Thanks to Arfrever for pointing out
-rw-r--r--wine.eselect6
1 files changed, 3 insertions, 3 deletions
diff --git a/wine.eselect b/wine.eselect
index a1ae823..5eca19e 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -74,7 +74,7 @@ are_symlinks_valid() {
local active=$(get_active ${v_arg})
local tgt="${active}"
if [[ "${active}" == "(unset)" ]]; then
- write_error_message "Invalid active config"
+ write_error_msg "Invalid active config"
return 1
fi
@@ -92,8 +92,8 @@ are_symlinks_valid() {
if has ${var} ${symlink_vars[@]}; then
symlink_vars=$(list_rm_item "${var}" "${symlink_vars}")
else
- write_warning_message "Missing '${var}' in ${v} config"
- write_warning_message "Might want to re-run set or update"
+ write_warning_msg "Missing '${var}' in ${v} config"
+ write_warning_msg "Might want to re-run set or update"
fi
done
if [[ ! -z ${symlink_vars} ]]; then