Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restore mergerfs in f41 #213

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
codacy suggestion
  • Loading branch information
bsherman committed Nov 14, 2024
commit d9e0ecbf23944303c6de86c67d468d978abbaf2d
2 changes: 1 addition & 1 deletion ucore/install-ucore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#/ctx/github-release-install.sh trapexit/mergerfs fc${RELEASE}.x86_64
curl --fail --retry 5 --retry-delay 5 --retry-all-errors -sSL -o /tmp/mfs-api.json \
"https://api.github.com/repos/trapexit/mergerfs/releases/latest"
MFS_TGZ_URL=$(cat /tmp/mfs-api.json | \

Check notice on line 21 in ucore/install-ucore.sh

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

ucore/install-ucore.sh#L21

Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
jq -r --arg arch_filter "linux_amd64" \
'.assets | sort_by(.created_at) | reverse | .[] | select(.name|test($arch_filter)) | select (.name|test("tar.gz$")) | .browser_download_url')
curl -sSL -o /tmp/mergerfs.tar.gz ${MFS_TGZ_URL}
curl -sSL -o /tmp/mergerfs.tar.gz "${MFS_TGZ_URL}"
tar -zxvf /tmp/mergerfs.tar.gz -C /usr --strip-components=2

# tweak os-release
Expand Down