added 'gcc' to install script

bruh I thought C compiler is installed by default.... *silently crying*
This commit is contained in:
Václav Šmejkal 2022-05-16 19:14:46 +02:00
parent 8df9d944ef
commit 4790683c49

View File

@ -10,9 +10,9 @@ fi
# Get COMMAND # Get COMMAND
if [[ $DISTRO == "Arch" ]]; then if [[ $DISTRO == "Arch" ]]; then
COMMAND="pacman -S --needed json-c curl" COMMAND="pacman -S --needed gcc json-c curl"
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
COMMAND="apt install libjson-c-dev libcurl4-nss-dev" COMMAND="apt install gcc libjson-c-dev libcurl4-nss-dev"
else else
# 'Unsupported' distro # 'Unsupported' distro
echo "It seems you are using unsupported distribution... Don't worry, just install https://github.com/json-c/json-c (+ CURL if you haven't installed it already) and you'll be fine." echo "It seems you are using unsupported distribution... Don't worry, just install https://github.com/json-c/json-c (+ CURL if you haven't installed it already) and you'll be fine."