Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jul 27, 2024
1 parent adc2446 commit b75244c
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 b75244c

Please sign in to comment.