From 2f18463180c9ed6f107a489db9c22c110f114397 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Mon, 12 Aug 2024 20:59:49 +0200 Subject: [PATCH] Fix error: missing command --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index c765dc8..23267d1 100755 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash run_directory=$(dirname $(readlink -f "$0")) +user=$(whoami) if [[ $user != 'root' ]]; then sudo="sudo"