mirror of
https://github.com/endeavouros-team/eos-bash-shared.git
synced 2026-09-26 23:01:42 +00:00
[eos-bash-shared] only shellcheck related changes
This commit is contained in:
@@ -14,7 +14,7 @@ AllMirrors() { grep "^Server[ ]*=[ ]*https://" $ml | sed 's|^Server[ ]*=[ ]*\
|
||||
|
||||
Test() {
|
||||
local url="$1"
|
||||
/bin/curl --silent --fail --connect-timeout $timeout "$url" >/dev/null # download the 'state' file from a mirror
|
||||
/bin/curl --silent --fail --connect-timeout "$timeout" "$url" >/dev/null # download the 'state' file from a mirror
|
||||
retval=$?
|
||||
if [ $retval -eq 0 ] ; then
|
||||
[ "$verbose" = "yes" ] && echo "==> Mirror = $url" >&2
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ yad_missing_check() {
|
||||
local timeout="$2"
|
||||
[ "$timeout" ] || timeout=10000
|
||||
local msg="Some operations require yad installed."
|
||||
eos_notification "$ICO_INFO" normal $timeout "$app" "Notification from $app" "$msg"
|
||||
eos_notification "$ICO_INFO" normal "$timeout" "$app" "Notification from $app" "$msg"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user