mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
More checking in install.sh
This commit is contained in:
parent
27c5de3572
commit
8ae010eb8e
@ -59,7 +59,7 @@ if cat /etc/os-release | grep ID=arch &> /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# openSUSE (zypper)
|
# openSUSE (zypper)
|
||||||
if command -v zypper &> /dev/null; then
|
if cat /etc/os-release | grep ID=opensuse &> /dev/null; then
|
||||||
echo "Installing packages for openSUSE (zypper)"
|
echo "Installing packages for openSUSE (zypper)"
|
||||||
|
|
||||||
sudo zypper -n install git python3 python3-devel python3-pip python3-setuptools gcc gcc-c++ glibc-devel make cross-mips-binutils zlib-devel libyaml-devel
|
sudo zypper -n install git python3 python3-devel python3-pip python3-setuptools gcc gcc-c++ glibc-devel make cross-mips-binutils zlib-devel libyaml-devel
|
||||||
@ -94,7 +94,7 @@ if command -v zypper &> /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Alpine Linux (apk)
|
# Alpine Linux (apk)
|
||||||
if command -v apk &> /dev/null; then
|
if cat /etc/os-release | grep ID=alpine &> /dev/null; then
|
||||||
echo "Installing packages for Alpine Linux (apk)"
|
echo "Installing packages for Alpine Linux (apk)"
|
||||||
|
|
||||||
# If the edge/community repo isn't present, it needs to be for astyle
|
# If the edge/community repo isn't present, it needs to be for astyle
|
||||||
|
Loading…
Reference in New Issue
Block a user