From 6b620186c8bc75258f5068cf0a65f0a2d2f1f794 Mon Sep 17 00:00:00 2001 From: "Nikola R. Hristov" Date: Tue, 9 Apr 2024 21:19:11 +0300 Subject: [PATCH] squash! --- README.md | 4 +++- install.sh | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index ac9aefc..2feecfc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # dybuk -Dybuk cleans up the ugly Rustc messages (inspired by Elm). Dybuk supports some other compilers aswell. + +Dybuk cleans up the ugly Rustc messages (inspired by Elm). Dybuk supports some +other compilers aswell. diff --git a/install.sh b/install.sh index 3ede160..7150695 100755 --- a/install.sh +++ b/install.sh @@ -44,22 +44,22 @@ function main() { [[ ! -e "target/release/dybuk" || ! -e "target/release/deps" ]] case "$?" in - 0) - _install - ;; + 0) + _install + ;; - 1) - log_e "Generated files doesn't exists." - if [ "$EUID" = "0" ]; then - log_e "Building the project with root privileges is prohibited." - return 1 - fi + 1) + log_e "Generated files doesn't exists." + if [ "$EUID" = "0" ]; then + log_e "Building the project with root privileges is prohibited." + return 1 + fi - if ask_yesno "Build project"; then - build && _install - return "$?" - fi - ;; + if ask_yesno "Build project"; then + build && _install + return "$?" + fi + ;; esac }