detached d6ffbc4

fix: address copilot review comments

- Anchor grep pattern to prevent partial filename matches
- Add helpful installation instructions for missing checksum tools
commit
d6ffbc4829d5d2d86f1eb6d98e45317c627eac84
author
brice · · 2026-01-17 07:58 UTC
parent
dea7072
signature
unsigned
1 file · +8 -2
M install.sh +8 -2
@@ -65,7 +65,7 @@ fi
6565
6666 # Verify checksum
6767 echo "Verifying checksum..."
68-EXPECTED_CHECKSUM=$(grep "${TARBALL}" "$TMP_DIR/checksums.txt" | awk '{print $1}')
68+EXPECTED_CHECKSUM=$(grep -E "[[:space:]]${TARBALL}\$" "$TMP_DIR/checksums.txt" | awk '{print $1}')
6969 if [ -z "$EXPECTED_CHECKSUM" ]; then
7070 echo "Error: Could not find checksum for ${TARBALL} in checksums.txt"
7171 exit 1
@@ -77,7 +77,13 @@ if command -v sha256sum >/dev/null 2>&1; then
7777 elif command -v shasum >/dev/null 2>&1; then
7878 ACTUAL_CHECKSUM=$(shasum -a 256 "$TMP_DIR/$TARBALL" | awk '{print $1}')
7979 else
80- echo "Error: Neither sha256sum nor shasum found. Cannot verify checksum."
80+ echo "Error: Neither 'sha256sum' nor 'shasum' was found. Cannot verify checksum."
81+ echo ""
82+ echo "Please install one of these tools:"
83+ echo " Debian/Ubuntu: sudo apt-get install coreutils"
84+ echo " Fedora/RHEL: sudo dnf install coreutils"
85+ echo " Alpine: apk add coreutils"
86+ echo " macOS: shasum should be pre-installed"
8187 exit 1
8288 fi
8389
@@ -65,7 +65,7 @@ fi
65 65
66 # Verify checksum66 # Verify checksum
67 echo "Verifying checksum..."67 echo "Verifying checksum..."
68-EXPECTED_CHECKSUM=$(grep "${TARBALL}" "$TMP_DIR/checksums.txt" | awk '{print $1}')68+EXPECTED_CHECKSUM=$(grep -E "[[:space:]]${TARBALL}\$" "$TMP_DIR/checksums.txt" | awk '{print $1}')
69 if [ -z "$EXPECTED_CHECKSUM" ]; then69 if [ -z "$EXPECTED_CHECKSUM" ]; then
70 echo "Error: Could not find checksum for ${TARBALL} in checksums.txt"70 echo "Error: Could not find checksum for ${TARBALL} in checksums.txt"
71 exit 171 exit 1
@@ -77,7 +77,13 @@ if command -v sha256sum >/dev/null 2>&1; then
77 elif command -v shasum >/dev/null 2>&1; then77 elif command -v shasum >/dev/null 2>&1; then
78 ACTUAL_CHECKSUM=$(shasum -a 256 "$TMP_DIR/$TARBALL" | awk '{print $1}')78 ACTUAL_CHECKSUM=$(shasum -a 256 "$TMP_DIR/$TARBALL" | awk '{print $1}')
79 else79 else
80- echo "Error: Neither sha256sum nor shasum found. Cannot verify checksum."80+ echo "Error: Neither 'sha256sum' nor 'shasum' was found. Cannot verify checksum."
81+ echo ""
82+ echo "Please install one of these tools:"
83+ echo " Debian/Ubuntu: sudo apt-get install coreutils"
84+ echo " Fedora/RHEL: sudo dnf install coreutils"
85+ echo " Alpine: apk add coreutils"
86+ echo " macOS: shasum should be pre-installed"
81 exit 187 exit 1
82 fi88 fi
83 89

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close