Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
終了時のメッセージを改善
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Jan 1, 2020
1 parent ab73f3a commit 6570411
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eg-installer
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,13 @@ function install_and_uninstall () {
selected_list=(${selected_list//'|'/ })
set +eu
if [[ ! $exit_code = 0 && -z $selected_list ]]; then
error 600 100 "パッケージが選択されませんでした。トップに戻ります。"
error 600 100 "パッケージが選択されませんでした。$(
if [[ ! $direct_execution = "true" ]]; then
echo 'トップに戻ります。'
else
echo '終了します。'
fi
)"
call_me $options
exit
fi
Expand Down

0 comments on commit 6570411

Please sign in to comment.