From d9f7360daf9ead5db57c1793dd56c355575e2684 Mon Sep 17 00:00:00 2001 From: Sebastian Haderecker Date: Thu, 4 Jul 2019 10:50:12 +0000 Subject: [PATCH 1/2] Install sudo before apt-fast script sudo is not installed in all debian variants --- iso/installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index dcfdb963..ebe4308f 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -223,7 +223,7 @@ function fuCHECKPACKAGES { then echo "### Installing deps for apt-fast" apt-get -y update - apt-get -y install curl wget + apt-get -y install curl wget sudo fi echo "### Installing apt-fast" /bin/bash -c "$(curl -sL https://raw.githubusercontent.com/ilikenwf/apt-fast/master/quick-install.sh)" From 0baff7340da8b171e50e3e9817767b852fb7e9f6 Mon Sep 17 00:00:00 2001 From: Sebastian Haderecker Date: Thu, 4 Jul 2019 10:59:03 +0000 Subject: [PATCH 2/2] Check for sudo --- iso/installer/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index ebe4308f..140a0bb1 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -219,7 +219,8 @@ function fuCHECKPACKAGES { # Make sure dependencies for apt-fast are installed myCURL=$(which curl) myWGET=$(which wget) - if [ "$myCURL" == "" ] || [ "$myWGET" == "" ] + mySUDO=$(which sudo) + if [ "$myCURL" == "" ] || [ "$myWGET" == "" ] || [ "$mySUDO" == "" ] then echo "### Installing deps for apt-fast" apt-get -y update