@stll/oxlint-config 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/toolchain-changed.cjs +8 -0
- package/dist/toolchain-changed.cjs.map +1 -1
- package/dist/toolchain-changed.mjs +8 -0
- package/dist/toolchain-changed.mjs.map +1 -1
- package/dist/toolchain-guard.cjs +1 -1
- package/dist/toolchain-guard.mjs +1 -1
- package/dist/toolchain-inputs.cjs +13 -1
- package/dist/toolchain-inputs.cjs.map +1 -1
- package/dist/toolchain-inputs.mjs +13 -1
- package/dist/toolchain-inputs.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -39,7 +39,19 @@ apt_install() (
|
|
|
39
39
|
policy_state=installed
|
|
40
40
|
printf '%s\n' '#!/bin/sh' 'exit 101' > /usr/sbin/policy-rc.d
|
|
41
41
|
chmod 755 /usr/sbin/policy-rc.d
|
|
42
|
-
|
|
42
|
+
local package
|
|
43
|
+
for package in "$@"; do
|
|
44
|
+
if [[ "$package" == */* ]]; then
|
|
45
|
+
# apt cannot fetch local archives with --download-only; their installs stay
|
|
46
|
+
# bounded as a whole (dependencies are normally present already).
|
|
47
|
+
DEBIAN_FRONTEND=noninteractive apt_network install -y --no-install-recommends "$@"
|
|
48
|
+
return
|
|
49
|
+
fi
|
|
50
|
+
done
|
|
51
|
+
# The network deadline covers downloads only; unpacking and maintainer scripts
|
|
52
|
+
# (for example locale generation or cluster creation) run offline afterwards.
|
|
53
|
+
DEBIAN_FRONTEND=noninteractive apt_network install -y --no-install-recommends --download-only "$@"
|
|
54
|
+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-download "$@"
|
|
43
55
|
)
|
|
44
56
|
|
|
45
57
|
`;
|