File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,15 @@ printf "%sInstalling filebrowser\n\n" "${BOLD}"
8
8
9
9
# Check if filebrowser is installed.
10
10
if ! command -v filebrowser & > /dev/null; then
11
- curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
11
+ VERSION=" v2.24.1"
12
+ EXPECTED_HASH=" 7d83c0f077df10a8ec9bfd9bf6e745da5d172c3c768a322b0e50583a6bc1d3cc"
13
+
14
+ curl -fsSL " https://github.com/filebrowser/filebrowser/releases/download/${VERSION} /linux-amd64-filebrowser.tar.gz" -o /tmp/filebrowser.tar.gz
15
+ echo " ${EXPECTED_HASH} /tmp/filebrowser.tar.gz" | sha256sum -c
16
+ tar -xzf /tmp/filebrowser.tar.gz -C /tmp
17
+ sudo mv /tmp/filebrowser /usr/local/bin/
18
+ sudo chmod +x /usr/local/bin/filebrowser
19
+ rm /tmp/filebrowser.tar.gz
12
20
fi
13
21
14
22
# Create entrypoint.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
install_devcontainer_cli () {
4
- npm install -g @devcontainers/cli
4
+ npm install -g @devcontainers/cli@0.80.0 --integrity=sha512-w2EaxgjyeVGyzfA/KUEZBhyXqu/5PyWNXcnrXsZOBrt3aN2zyGiHrXoG54TF6K0b5DSCF01Rt5fnIyrCeFzFKw==
5
5
}
6
6
7
7
install_ssh_config () {
You can’t perform that action at this time.
0 commit comments