Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Aug 22, 2024
1 parent b75244c commit efa0797
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit efa0797

Please sign in to comment.