mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-29 12:03:59 +08:00
30 lines
873 B
Bash
Executable File
30 lines
873 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -e /usr/bin/apt-get ]; then
|
|
apt-get -qy update
|
|
apt-get -qy --no-install-suggests --no-install-recommends --force-yes \
|
|
install \
|
|
build-essential git g++ debhelper \
|
|
python \
|
|
automake libtool lsb-release
|
|
elif [ -e /usr/bin/dnf ]; then
|
|
dnf -y update
|
|
dnf -y install \
|
|
git rpm-build gcc-c++ make which python automake \
|
|
libtool gettext-devel
|
|
elif [ -e /usr/bin/yum ]; then
|
|
yum -y update
|
|
yum -y install \
|
|
git rpm-build gcc-c++ make which \
|
|
python python-argparse \
|
|
automake libtool gettext-devel
|
|
elif [ -e /sbin/apk ]; then
|
|
apk add \
|
|
abuild git gcc g++ make autoconf \
|
|
automake libtool gettext-dev linux-headers
|
|
elif [ -e /usr/sbin/pkg ]; then
|
|
pkg install \
|
|
git gmake gcc autoconf automake libtool \
|
|
gettext-tools
|
|
fi
|