Skip to content

Commit

Permalink
Updated profile info for rpm to address naming
Browse files Browse the repository at this point in the history
  • Loading branch information
djpolygon committed Oct 9, 2024
1 parent ef5f326 commit 8cb2847
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions heimdall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ fi
if [[ $version > "0.3" ]]; then
tag=${version}
profileInfo=${network}-${nodetype}-config_v${version}
profileInforpm=${network}-${nodetype}-config-v${version}
else
echo "Version is less than 0.3, ignoring network and node type"
tag=${version}
Expand All @@ -105,7 +106,7 @@ case "$(uname -s).$(uname -m)" in
type="rpm"
if [[ $version > "0.3" ]]; then
binary="heimdall-v${tag}.x86_64.rpm"
profile="heimdall-${profileInfo}.noarch.rpm"
profile="heimdall-${profileInforpm}.noarch.rpm"
else
binary="heimdall_v${tag}_linux_amd64.rpm"
fi
Expand Down Expand Up @@ -136,7 +137,7 @@ case "$(uname -s).$(uname -m)" in
type="rpm"
if [[ $version > "0.3" ]]; then
binary="heimdall-v${tag}.aarch64.rpm"
profile="heimdall-${profileInfo}.noarch.rpm"
profile="heimdall-${profileInforpm}.noarch.rpm"
else
binary="heimdall_v${tag}_linux_arm64.rpm"
fi
Expand Down

0 comments on commit 8cb2847

Please sign in to comment.