mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-13 12:09:25 +03:00
Added RPI4_64bit support for GUI installation script (#8159)
* Added support for Raspberry Pi 4 64Bit * Added support for Raspberry Pi 4 64Bit * Added support for Raspberry Pi 4 64Bit
This commit is contained in:
parent
b72f2c50af
commit
4983241b2a
@ -24,7 +24,17 @@ if [ "$(uname)" = "Linux" ]; then
|
||||
if type apt-get; then
|
||||
# Debian/Ubuntu
|
||||
UBUNTU=true
|
||||
sudo apt-get install -y npm nodejs libxss1
|
||||
|
||||
# Check if we are running a Raspberry PI 4
|
||||
if [ "$(uname -m)" = "aarch64" ] \
|
||||
&& [ "$(uname -n)" = "raspberrypi" ]; then
|
||||
# Check if NodeJS & NPM is installed
|
||||
type npm >/dev/null 2>&1 || {
|
||||
echo >&2 "Please install NODEJS&NPM manually"
|
||||
}
|
||||
else
|
||||
sudo apt-get install -y npm nodejs libxss1
|
||||
fi
|
||||
elif type yum && [ ! -f "/etc/redhat-release" ] && [ ! -f "/etc/centos-release" ] && [ ! -f /etc/rocky-release ] && [ ! -f /etc/fedora-release ]; then
|
||||
# AMZN 2
|
||||
echo "Installing on Amazon Linux 2."
|
||||
|
Loading…
Reference in New Issue
Block a user