mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-20 21:34:13 -07:00
Merge pull request #60 from leemgs/patch-6
fix: fixed incorrect return value in setup.sh
This commit is contained in:
commit
392b94e5f6
1 changed files with 2 additions and 2 deletions
4
setup.sh
4
setup.sh
|
@ -3,14 +3,14 @@
|
|||
if [ -f config.env ]; then
|
||||
echo "config.env already exists, skipping"
|
||||
echo "Please delete config.env if you want to re-run this script"
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
|
||||
function check_dep(){
|
||||
echo "Checking for $1 ..."
|
||||
which "$1" 2>/dev/null || {
|
||||
echo "Please install $1."
|
||||
exit 0
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
check_dep curl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue