fix function names

This commit is contained in:
Tobias Powalowski 2022-02-08 20:20:21 +01:00
parent ddf0140794
commit f964c85e5a
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
source /usr/lib/archboot/functions
source /usr/lib/archboot/server_functions
_ARCH="aarch64"
_check_root
_root_check
_check_buildserver
_update_aarch64_pacman_chroot
_server_release

View file

@ -2,7 +2,7 @@
source /usr/lib/archboot/functions
source /usr/lib/archboot/server_functions
_ARCH="x86_64"
_check_root
_root_check
_check_buildserver
_pacman_x86_64_use_default
_server_release

View file

@ -22,7 +22,7 @@ _x86_64_check() {
}
### check for aarch64
_check_aarch64() {
_aarch64_check() {
if ! [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
echo "ERROR: Please run on aarch64 hardware."
exit 1
@ -30,7 +30,7 @@ _check_aarch64() {
}
### check for tpowa's build server
_check_buildserver() {
_buildserver_check() {
if [[ ! "$(cat /etc/hostname)" == "T-POWA-LX" ]]; then
echo "This script should only be run on tpowa's build server. Aborting..."
exit 1