mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 08:43:42 +08:00
Recognize default GitHub CI package setup
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "96e74feb80df004b5eec8fe02a85bdecb754a3ce9ba309890bc034b4441fe500", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "e80629b2312036fcd07954591feb1a7e0baad75507ca8aeb2416bec7c2956915", "schema_version": 1}
|
||||
|
||||
@@ -52,7 +52,7 @@ function install_linux_deps() {
|
||||
echo "[ ] system packages already installed t=$SECONDS"
|
||||
elif command -v apt-get > /dev/null 2>&1; then
|
||||
local apt_options=()
|
||||
if [[ "${CI:-}" == "1" ]]; then
|
||||
if [[ "${CI:-}" == "1" || "${CI:-}" == "true" ]]; then
|
||||
apt_options=(-o Acquire::Retries=2 -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30)
|
||||
fi
|
||||
"${SUDO[@]}" apt-get "${apt_options[@]}" update
|
||||
|
||||
Reference in New Issue
Block a user