Skip to content

Commit

Permalink
Small script fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Nov 19, 2024
1 parent 890822a commit c10df7e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion resources/scripts/install-conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
3 changes: 0 additions & 3 deletions resources/scripts/setup-user.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit c10df7e

Please sign in to comment.