Skip to content

Commit 637f004

Browse files
authored
Merge pull request #57 from rio/fix/chezmoi-55
fix(chezmoi): adjust for checksum format change
2 parents 86c162a + ee0b270 commit 637f004

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/chezmoi/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Chezmoi Dotfile Manager",
33
"id": "chezmoi",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"description": "Manage your dotfiles across multiple diverse machines, securely.",
66
"options": {
77
"version": {

src/chezmoi/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ main () {
5656

5757
echo "Downloading checksums ${CHEZMOI_CHECKSUMS_URL} ..."
5858
wget --no-verbose -O /tmp/checksums.txt "${CHEZMOI_CHECKSUMS_URL}"
59-
local CHEZMOI_SHA="$(grep linux_${ARCH}.tar.gz /tmp/checksums.txt | cut -d ' ' -f 1)"
59+
local CHEZMOI_SHA="$(grep linux_${ARCH}.tar.gz$ /tmp/checksums.txt | cut -d ' ' -f 1)"
6060

6161
echo "Downloading ${CHEZMOI_URL} ..."
6262
wget -qO /tmp/chezmoi.tar.gz "${CHEZMOI_URL}"

0 commit comments

Comments
 (0)