From c10df7e1d6f6763c7790ef988a71e335d535adf2 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Tue, 19 Nov 2024 08:50:26 -1000 Subject: [PATCH] Small script fixes. --- resources/scripts/install-conda.sh | 1 - resources/scripts/setup-user.sh | 3 --- 2 files changed, 4 deletions(-) diff --git a/resources/scripts/install-conda.sh b/resources/scripts/install-conda.sh index 0a2444df4..77a536121 100644 --- a/resources/scripts/install-conda.sh +++ b/resources/scripts/install-conda.sh @@ -22,7 +22,6 @@ function install_conda() { # Activate by default echo "conda activate ${CONDA_ENV_NAME}" >>"${HOME}/.zshrc" - cd "${PANDIR}" "${HOME}/conda/bin/mamba" env update -p "${HOME}/conda/envs/${CONDA_ENV_NAME}" -f environment.yaml } diff --git a/resources/scripts/setup-user.sh b/resources/scripts/setup-user.sh index 685b15579..ee6756f62 100644 --- a/resources/scripts/setup-user.sh +++ b/resources/scripts/setup-user.sh @@ -1,11 +1,8 @@ #!/usr/bin/env bash PANUSER="${PANUSER:-$USER}" -DEFAULT_GROUPS="dialout,plugdev,input,sudo" function setup_user() { - sudo usermod -aG "${DEFAULT_GROUPS}" "${PANUSER}" - # Add an SSH key if one doesn't exist. if [[ ! -f "${HOME}/.ssh/id_rsa" ]]; then echo "Adding ssh key"