From 4cf20251ea156799a783644f420130d7ad82a3a6 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Sat, 11 Jun 2022 12:52:00 +0000 Subject: [PATCH] chore: remove dead code from install.sh (#230) `SELECTED_USER` is never used --- install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/install.sh b/install.sh index 2496f1f..774a41b 100755 --- a/install.sh +++ b/install.sh @@ -1,13 +1,7 @@ #!/usr/bin/env sh -SELECTED_USER="$1" CURRENT_UID="$(id -u)" -if [ "$SELECTED_USER" = "" ]; then - echo "Please specify a user!" - exit 1 -fi - if [ "$CURRENT_UID" -ne 0 ]; then echo "Please run using sudo!" exit 1