From 010f7c7dbe7d4711809f31c114b9730bf89418ea Mon Sep 17 00:00:00 2001 From: jonasled Date: Wed, 30 Dec 2020 19:03:23 +0100 Subject: [PATCH 1/2] 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 From 4ad69b47b0f6dcec91a5b5164f74a0f51712ed44 Mon Sep 17 00:00:00 2001 From: jonasled Date: Wed, 30 Dec 2020 19:27:45 +0100 Subject: [PATCH 2/2] added python to extra packages was not installed on a fresh debian, so we need to add it --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 7220a56..c58c52c 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 sudo tzdata ucspi-tcp zip python) for package in "${packages[@]}"; do install_pkg "$package" done