Added Arch linux option in the dependencies script

This commit is contained in:
b1ue 2019-03-05 16:26:10 +01:00
parent 6525b2b7d3
commit a298620e9d

View File

@ -44,6 +44,11 @@ get_debian_deps()
libssl-dev bash patch make tar xz-utils bzip2 gzip sed cpio libbz2-dev libssl-dev bash patch make tar xz-utils bzip2 gzip sed cpio libbz2-dev
} }
get_arch_deps()
{
pacman -S clang llvm libxml2 openssl bash patch make tar bzip2 gzip sed cpio xz
}
unknown() unknown()
{ {
echo "Unknown system type. Please get dependencies by hand " echo "Unknown system type. Please get dependencies by hand "
@ -67,6 +72,8 @@ if [ -e /etc/issue ]; then
get_fedora_deps get_fedora_deps
elif [ "`grep -i mageia /etc/issue`" ]; then elif [ "`grep -i mageia /etc/issue`" ]; then
get_mageia_deps get_mageia_deps
elif [ "`grep -i arch /etc/issue`" ]; then
get_arch_deps
else else
unknown unknown
fi fi