Skip to content

Commit

Permalink
Update configure.sh
Browse files Browse the repository at this point in the history
It works on Docker ubuntu latest
  • Loading branch information
LeChatP authored Oct 18, 2023
1 parent 8ae49d1 commit fc376f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ done

echo "Capabilities & PAM packages installation"
if command -v apt-get &>/dev/null; then
apt-get install "${YES}" openssl libssl-dev curl gcc llvm clang libcap2 libcap2-bin libcap-dev libcap-ng-dev libelf-dev libpam0g-dev libxml2 libxml2-dev make "linux-headers-$(uname -r)"
apt-get install "${YES}" pkg-config openssl libssl-dev curl gcc llvm clang libcap2 libcap2-bin libcap-dev libcap-ng-dev libelf-dev libpam0g-dev libxml2 libxml2-dev make "linux-headers-$(uname -r)"
if [ -n "${DEBUG}" ]; then
apt-get install "${YES}" gdb
fi;
if [ -n "${COV}" ]; then
apt-get install "${YES}" gcovr
fi;
elif command -v yum &>/dev/null; then
yum install "${YES}" openssl-devel curl gcc llvm clang libcap libcap-ng libelf libxml2 make kernel-headers
yum install "${YES}" pkgconfig openssl-devel curl gcc llvm clang libcap libcap-ng libelf libxml2 make kernel-headers
if [ -n "${DEBUG}" ]; then
yum install "${YES}" gdb
fi;
if [ -n "${COV}" ]; then
yum install "${YES}" gcovr
fi;
elif command -v pacman &>/dev/null; then
pacman -S "${YES}" openssl curl cargo-make gcc llvm clang libcap libcap-ng libelf libxml2 linux-headers linux-api-headers make
pacman -S "${YES}" pkgconf openssl curl cargo-make gcc llvm clang libcap libcap-ng libelf libxml2 linux-headers linux-api-headers make
if [ -n "${DEBUG}" ]; then
pacman -S "${YES}" gdb
fi;
Expand Down

0 comments on commit fc376f6

Please sign in to comment.