mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
do printf instead of function (#1268)
Signed-off-by: enoch85 <github@hanssonit.se>
This commit is contained in:
parent
6bb64dd9f0
commit
cbca4de42c
@ -46,7 +46,7 @@ NCDB=1 && FIRST_IFACE=1 source /var/scripts/lib.sh
|
||||
unset NCDB
|
||||
unset FIRST_IFACE
|
||||
# If we have internet, then use the latest variables from the lib remote file
|
||||
elif print_text_in_color "$ICyan" "Testing internet connection..." && ping github.com -c 2
|
||||
elif printf "Testing internet connection..." && ping github.com -c 2
|
||||
then
|
||||
true
|
||||
# shellcheck source=lib.sh
|
||||
|
||||
@ -10,7 +10,7 @@ true
|
||||
# shellcheck source=lib.sh
|
||||
source /var/scripts/lib.sh
|
||||
# If we have internet, then use the latest variables from the lib remote file
|
||||
elif print_text_in_color "$ICyan" "Testing internet connection..." && ping github.com -c 2
|
||||
elif printf "Testing internet connection..." && ping github.com -c 2
|
||||
then
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
@ -18,7 +18,7 @@ true
|
||||
FIRST_IFACE=1 source /var/scripts/lib.sh
|
||||
unset FIRST_IFACE
|
||||
# If we have internet, then use the latest variables from the lib remote file
|
||||
elif print_text_in_color "$ICyan" "Testing internet connection..." && ping github.com -c 2
|
||||
elif printf "Testing internet connection..." && ping github.com -c 2
|
||||
then
|
||||
# shellcheck disable=2034,2059
|
||||
true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user