Add curl check

This commit is contained in:
Sage Vaillancourt 2024-08-23 16:11:55 -04:00
parent 2859a8daa5
commit 3df3362f28
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,11 @@ if ! command -v wget &> /dev/null; then
exit 1 exit 1
fi fi
if ! command -v curl &> /dev/null; then
echo "curl must be installed!"
exit 1
fi
mkdir -p "$HOME/.tmp" || exit 1 mkdir -p "$HOME/.tmp" || exit 1
if command -v sudo &> /dev/null && ! command -v sofi &> /dev/null && ! test -f /usr/bin/sofi; then if command -v sudo &> /dev/null && ! command -v sofi &> /dev/null && ! test -f /usr/bin/sofi; then