Skip to content

Commit 0d833d3

Browse files
committed
Error in double quotation mark
1 parent ba76638 commit 0d833d3

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

install/hst-install-debian.sh

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,20 @@ case $architecture in
400400
x86_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
*)
407418
echo
408419
echo -e "\e[91mInstallation aborted\e[0m"
@@ -631,7 +642,15 @@ fi
631642

632643
# Installing HestiaCP repo
633644
echo "[ * ] 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
635654
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
636655

637656
# Installing PostgreSQL repo

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ else
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"
624624
fi
625625
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
626626

0 commit comments

Comments
 (0)