xbps-src: update-check: avoid bashism, requested by @chneukirchen.
This commit is contained in:
parent
1a90c55fcf
commit
07dd4ad339
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
update_check() {
|
update_check() {
|
||||||
local i p url rx found_version consider
|
local i p url rx found_version consider
|
||||||
|
|
||||||
if ! command -v curl &>/dev/null; then
|
if ! type curl >/dev/null 2>&1; then
|
||||||
echo "ERROR: cannot find \`curl' executable!"
|
echo "ERROR: cannot find \`curl' executable!"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue