File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed
Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -400,9 +400,20 @@ case $architecture in
400400x86_64)
401401 ARCH=" amd64"
402402 ;;
403- # aarch64)
404- # ARCH="arm64"
405- # ;;
403+ aarch64)
404+ ARCH=" arm64"
405+ if [ -z " $withdebs " ] || [ ! -d " $withdebs " ]; then
406+ echo
407+ echo -e " \e[91mInstallation aborted\e[0m"
408+ echo " ===================================================================="
409+ echo -e " \e[33mERROR: HestiaCP on ARM is currently not supported with install from ATP!\e[0m"
410+ echo -e " \e[33mPlease compile your own packages for HestiaCP. \e[0m"
411+ echo -e " \e[33mPlease follow the instructions at: \e[0m"
412+ echo -e " \e[33mhttps://docs.hestiacp.com/development/panel.html#compiling\e[21m\e[0m"
413+ echo " "
414+ check_result 1 " Installation aborted"
415+ fi
416+ ;;
406417* )
407418echo
408419echo -e " \e[91mInstallation aborted\e[0m"
631642
632643# Installing HestiaCP repo
633644echo " [ * ] Hestia Control Panel"
634- echo " deb https://$RHOST / $codename main" > $apt /hestia.list
645+ if [ " $ARCH " = " amd64" ]; then
646+ echo " deb https://$RHOST / $codename main" > $apt /hestia.list
647+ else
648+ echo " # deb https://$RHOST / $codename main" > $apt /hestia.list
649+ echo -e " \e[033[0;31m[ ! ] HestiaCP on ARM is currently in Development.\033[0m"
650+ echo -e " \e[033[0;31m This will mean that we don't provide any packages and you are responisble\033[0m"
651+ echo -e " \e[033[0;31m for building the packages your self. To build your own packeges see\033[0m"
652+ echo -e " \e[033[0;31m https://docs.hestiacp.com/development/panel.html#compiling\033[0m"
653+ fi
635654apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
636655
637656# Installing PostgreSQL repo
Original file line number Diff line number Diff line change 620620 echo -e " \e[033[0;31m[ ! ] HestiaCP on ARM is currently in Development.\033[0m"
621621 echo -e " \e[033[0;31m This will mean that we don't provide any packages and you are responisble\033[0m"
622622 echo -e " \e[033[0;31m for building the packages your self. To build your own packeges see\033[0m"
623- echo -e " \e[033[0;31m https://docs.hestiacp.com/development/panel.html#compiling\033[0m" "
623+ echo -e " \e[033[0;31m https://docs.hestiacp.com/development/panel.html#compiling\033[0m"
624624fi
625625apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
626626
You can’t perform that action at this time.
0 commit comments