From 010f7c7dbe7d4711809f31c114b9730bf89418ea Mon Sep 17 00:00:00 2001 From: jonasled Date: Wed, 30 Dec 2020 19:03:23 +0100 Subject: [PATCH] install sudo after git, because we need it in the next step. --- install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install b/install index 7220a56..b00fcb6 100755 --- a/install +++ b/install @@ -343,7 +343,7 @@ install_pkg() { } install_extra() { - local packages=(apt-transport-https ca-certificates curl gnupg2 net-tools nginx software-properties-common sudo tzdata ucspi-tcp zip) + local packages=(apt-transport-https ca-certificates curl gnupg2 net-tools nginx software-properties-common tzdata ucspi-tcp zip) for package in "${packages[@]}"; do install_pkg "$package" done @@ -689,6 +689,7 @@ main() { start_temporary_log check_root install_pkg "git" + install_pkg "sudo" labca_user end_temporary_log