fix check command curl
This commit is contained in:
parent
296fbfffe2
commit
0a3e297a9e
|
@ -106,7 +106,7 @@ case "$1" in
|
|||
|
||||
-vv)
|
||||
awk 'NR==2 {print "# Installed:",$3}' "/usr/local/bin/upd"
|
||||
if__command curl*-
|
||||
if__command curl
|
||||
curl -s "$upd_repo_upd" | awk 'NR==2 {print "# Available:",$3}'
|
||||
;;
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
# Automatic Updater
|
||||
#======================================================================
|
||||
upd__Updater() {
|
||||
if__command curl
|
||||
upd_cur=`awk 'NR==2 {print $3}' "/usr/local/bin/upd"`
|
||||
upd_onl=`curl -s "$upd_repo_upd" | awk 'NR==2 {print $3}'`
|
||||
|
||||
|
|
Loading…
Reference in New Issue