Skip to content

Commit

Permalink
chore: use Codacy bash cleanup suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed Jan 9, 2025
1 parent e37d244 commit e74869e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ucore/install-ucore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [[ "-zfs" == "${ZFS_TAG}" ]]; then
# cockpit plugin for ZFS management
curl --fail --retry 5 --retry-delay 5 --retry-all-errors -sSL -o /tmp/cockpit-zfs-manager-api.json \
"https://api.github.com/repos/45Drives/cockpit-zfs-manager/releases/latest"
CZM_TGZ_URL=$(cat /tmp/cockpit-zfs-manager-api.json | jq -r .tarball_url)
CZM_TGZ_URL=$(jq -r .tarball_url /tmp/cockpit-zfs-manager-api.json)
curl -sSL -o /tmp/cockpit-zfs-manager.tar.gz "${CZM_TGZ_URL}"

mkdir -p /tmp/cockpit-zfs-manager
Expand Down

0 comments on commit e74869e

Please sign in to comment.