We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8ef09 commit 85fc5f3Copy full SHA for 85fc5f3
usr/local/sbin/eeupdate
@@ -227,7 +227,7 @@ RESTARTSERVICE()
227
228
# Update EasyEngine (ee)
229
EECURRENTVERSION=$(ee version | awk '{print($3)}')
230
-EELATESTVERSION=$(curl -sL https://api.github.com/repos/rtCamp/easyengine/releases | grep tag_name | awk '{print($2)}' | cut -d'"' -f2 | cut -c2-)
+EELATESTVERSION=$(curl -sL https://api.github.com/repos/rtCamp/easyengine/releases | grep tag_name | awk '{print($2)}' | cut -d'"' -f2 | cut -c2- | head -n1)
231
echo EECURRENTVERSION = $EECURRENTVERSION EELATESTVERSION = $EELATESTVERSION &>> $INSTALLLOG
232
233
if [[ $EECURRENTVERSION < $EELATESTVERSION ]]
0 commit comments