mirror of
https://0xacab.org/optout/plague-kernel.git
synced 2024-10-01 03:35:36 -04:00
Fixed Fedora deps | Added zstd back to Void linux dep list
This commit is contained in:
parent
d801df98a9
commit
a66bf54a10
@ -28,17 +28,18 @@ function check_distro(){
|
||||
case "${distroId,,}" in
|
||||
*void*)
|
||||
printf '%s\n' "Detected Void Linux..."
|
||||
xbps-install -Sy make gcc xz elfutils elfutils-devel flex ncurses-devel openssl openssl-devel argp-standalone gcc-ada mpc libmpc-devel gmp-devel perl
|
||||
xbps-install -Sy make gcc xz elfutils elfutils-devel flex ncurses-devel openssl openssl-devel argp-standalone gcc-ada mpc libmpc-devel gmp-devel perl zstd
|
||||
return 0
|
||||
;;
|
||||
*debian*|*ubuntu*)
|
||||
printf '%s\n' "Detected Debian-based Distribution..."
|
||||
sudo apt-get install build-essential linux-source bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison
|
||||
sudo apt-get install build-essential linux-source bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison zstd
|
||||
return 0
|
||||
;;
|
||||
*fedora*|*redhat*)
|
||||
printf '%s\n' "Detected RHEL-based Distribution..."
|
||||
sudo dnf install binutils /usr/include/{libelf.h,openssl/pkcs7.h} \
|
||||
sudo dnf install binutils /usr/include/{libelf.h,openssl/pkcs7.h} \
|
||||
/usr/bin/{bc,bison,flex,gcc,git,openssl,make,perl,pahole,zstd}
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user