We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa3aec2 commit 23ef832Copy full SHA for 23ef832
install.sh
@@ -37,10 +37,16 @@ else
37
fi
38
39
$SUDO yum groupinstall -y "Development Tools"
40
- else
+ elif type pacman &>/dev/null;then
41
+ echo " + On Linux / pacman. Installing apt packages."
42
+ $SUDO pacman -Sy --noconfirm peg make cmake pandoc pkgconfig
43
+ elif type apt &>/dev/null;then
44
echo " + On Linux / apt. Installing apt packages."
45
$SUDO apt-get install -y libgc-dev libffi-dev libjson-c-dev peg libpcre3-dev make cmake pandoc pkg-config build-essential
46
type awk || $SUDO apt-get install -y gawk
47
+ else
48
+ echo "ERROR: No supported package manager found! Accepted package managers are: apt, yum and pacman. Open an issue in github if any other is required."
49
+ exit 1
50
51
52
0 commit comments