Skip to content

Commit

Permalink
Execute hyperion version in non-gui mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey authored Jan 27, 2024
1 parent b3b3718 commit c73cdbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,7 @@ apt_get_install_pkgs() {
function installed_hyperion_version() {
path="$1"
shift
#${path}hyperiond --version | grep -oP 'Version\s+:\s+\K[^\s]+'
echo $(${path}hyperiond --version | awk -F'[:()]' '/Version/ {print $2}')
echo $(${path}hyperiond --service --version | awk -F'[:()]' '/Version/ {print $2}')
}
# Check whether Hyperion is installed
Expand Down

0 comments on commit c73cdbb

Please sign in to comment.