Skip to content

Commit

Permalink
Merge pull request #26 from redhat-performance/fix_ubuntu
Browse files Browse the repository at this point in the history
Need legacy curses to run on ubuntu.
  • Loading branch information
dvalinrh authored Jan 14, 2025
2 parents 60441d9 + 148671e commit 85b01eb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions passmark/passmark_run
Original file line number Diff line number Diff line change
Expand Up @@ -335,5 +335,15 @@ while [[ $# -gt 0 ]]; do
esac
done

#
# As the passmark kit is old, it needs older libcurses libraries
# to run on Ubuntu.
#
os=`$TOOLS_BIN/detect_os`
if [[ $os == "ubuntu" ]]; then
add-apt-repository universe -y
apt-get install libncurses5 -y
fi

run_passmark
exit 0

0 comments on commit 85b01eb

Please sign in to comment.