Skip to content

Commit

Permalink
Update install-cloudflared.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Coralesoft authored Aug 13, 2022
1 parent bf8eb19 commit 4523c77
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion install-cloudflared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ echo " "
echo "#############################################################################"
echo " "
echo "Checking nano & wget-ssl are installed"
if ! [ -f "/usr/bin/nano" ] || ! [ -f "/usr/libexec/wget-ssl" ] || ! [ -f "/usr/bin/jq" ]
if ! [ -f "/usr/bin/nano" ] || ! [ -f "/usr/libexec/wget-ssl" ] || ! [ -f "/usr/bin/jq" ] || ! [ -f "/usr/bin/curl" ]
then
echo " "
echo "Packages are missing, Updating packages"
Expand All @@ -84,6 +84,13 @@ then
opkg install nano
echo " "
fi
if ! [ -f "/usr/bin/curl" ]
then
echo " "
echo "Installing curl"
opkg install curl
echo " "
fi
if ! [ -f "/usr/libexec/wget-ssl" ]
then
echo " "
Expand Down

0 comments on commit 4523c77

Please sign in to comment.