mirror of
https://github.com/CosmicScale/PSBBN-Definitive-English-Patch.git
synced 2025-03-10 10:17:51 +01:00
Add support for Fedora-based distros (#44)
* Added support for Fedora-based Distributions * Added gcc
This commit is contained in:
parent
539bc3e002
commit
2870f11a22
@ -63,6 +63,9 @@ fi
|
|||||||
# Check if user is on Debian-based system
|
# Check if user is on Debian-based system
|
||||||
if [ -x "$(command -v apt)" ]; then
|
if [ -x "$(command -v apt)" ]; then
|
||||||
sudo apt update && sudo apt install -y axel imagemagick xxd python3 python3-venv python3-pip nodejs npm bc rsync curl zip
|
sudo apt update && sudo apt install -y axel imagemagick xxd python3 python3-venv python3-pip nodejs npm bc rsync curl zip
|
||||||
|
# Or if user is on Fedora-based system, do this instead
|
||||||
|
elif [ -x "$(command -v dnf)" ]; then
|
||||||
|
sudo dnf install -y gcc axel ImageMagick xxd python3 python3-devel python3-pip nodejs npm bc rsync curl zip
|
||||||
# Or if user is on Arch-based system, do this instead
|
# Or if user is on Arch-based system, do this instead
|
||||||
elif [ -x "$(command -v pacman)" ]; then
|
elif [ -x "$(command -v pacman)" ]; then
|
||||||
sudo pacman -Sy --needed archlinux-keyring && sudo pacman -S --needed axel imagemagick xxd python pyenv python-pip nodejs npm bc rsync curl zip
|
sudo pacman -Sy --needed archlinux-keyring && sudo pacman -S --needed axel imagemagick xxd python pyenv python-pip nodejs npm bc rsync curl zip
|
||||||
@ -80,6 +83,8 @@ if ! command -v mkfs.exfat &> /dev/null; then
|
|||||||
echo "mkfs.exfat not found. Installing exfat driver..."
|
echo "mkfs.exfat not found. Installing exfat driver..."
|
||||||
if [ -x "$(command -v apt)" ]; then
|
if [ -x "$(command -v apt)" ]; then
|
||||||
sudo apt install -y exfat-fuse
|
sudo apt install -y exfat-fuse
|
||||||
|
elif [ -x "$(command -v dnf)" ]; then
|
||||||
|
sudo dnf install -y exfatprogs
|
||||||
elif [ -x "$(command -v pacman)" ]; then
|
elif [ -x "$(command -v pacman)" ]; then
|
||||||
sudo pacman -S exfatprogs
|
sudo pacman -S exfatprogs
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user