File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed
Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -374,9 +374,20 @@ case $architecture in
374374 x86_64)
375375 ARCH=" amd64"
376376 ;;
377- # aarch64)
378- # ARCH="arm64"
379- # ;;
377+ aarch64)
378+ ARCH=" arm64"
379+ if [ -z " $withdebs " ] || [ ! -d " $withdebs " ]; then
380+ echo
381+ echo -e " \e[91mInstallation aborted\e[0m"
382+ echo " ===================================================================="
383+ echo -e " \e[33mERROR: HestiaCP on ARM is currently not supported with install from ATP!\e[0m"
384+ echo -e " \e[33mPlease compile your own packages for HestiaCP. \e[0m"
385+ echo -e " \e[33mPlease follow the instructions at: \e[0m"
386+ echo -e " \e[33mhttps://docs.hestiacp.com/development/panel.html#compiling\e[21m\e[0m"
387+ echo " "
388+ check_result 1 " Installation aborted"
389+ fi
390+ ;;
380391 * )
381392 echo
382393 echo -e " \e[91mInstallation aborted\e[0m"
602613
603614# Installing HestiaCP repo
604615echo " [ * ] Hestia Control Panel"
605- echo " deb https://$RHOST / $codename main" > $apt /hestia.list
616+ if [ " $ARCH " = " amd64" ]; then
617+ echo " deb https://$RHOST / $codename main" > $apt /hestia.list
618+ else
619+ echo " # deb https://$RHOST / $codename main" > $apt /hestia.list
620+ echo -e " \e[033[0;31m[ ! ] HestiaCP on ARM is currently in Development.\033[0m"
621+ echo -e " \e[033[0;31m This will mean that we don't provide any packages and you are responisble\033[0m"
622+ 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" "
624+ fi
606625apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
607626
608627# Installing PostgreSQL repo
You can’t perform that action at this time.
0 commit comments