@willbooster/wb 23.2.0 → 23.3.0
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/README.md +9 -2
- package/dist/index.js +3 -3
- package/docker/bash/install-litestream.sh +13 -11
- package/package.json +1 -1
|
@@ -11,14 +11,16 @@ if [[ -z "${ARCH:-}" ]]; then
|
|
|
11
11
|
esac
|
|
12
12
|
fi
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
# renovate: datasource=github-releases depName=benbjohnson/litestream
|
|
15
|
+
LITESTREAM_VERSION=${LITESTREAM_VERSION:-0.5.18}
|
|
16
|
+
DEB_FILE="litestream-${LITESTREAM_VERSION}-linux-${ARCH}.deb"
|
|
17
|
+
|
|
18
|
+
apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
19
|
+
echo "Installing Litestream: ${DEB_FILE}"
|
|
20
|
+
curl -fsSLO "https://github.com/benbjohnson/litestream/releases/download/v${LITESTREAM_VERSION}/${DEB_FILE}"
|
|
21
|
+
dpkg-reconfigure debconf -f noninteractive -p critical
|
|
22
|
+
dpkg -i "${DEB_FILE}"
|
|
23
|
+
cp "${SCRIPT_DIR}/run-litestream.sh" /usr/local/bin/run-litestream.sh
|
|
24
|
+
chmod +x /usr/local/bin/run-litestream.sh
|
|
25
|
+
litestream version
|
|
26
|
+
rm -f "${DEB_FILE}"
|