Skip to content

Commit

Permalink
Fix shellcheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 22, 2023
1 parent a038eea commit 0fef0b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/apps/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ _clone() {
}

# clone repos
# shellcheck disable=SC2310
if ! _is_nixos || _is_root; then
_clone "nix-config" [email protected]:rake5k/nixcfg.git "${nix_config}"
fi
Expand Down Expand Up @@ -93,6 +94,7 @@ _setup_nix() {
fi
}

# shellcheck disable=SC2310
if _is_nixos && _is_root; then
_setup_nixos
elif ! _is_nixos && ! _is_root; then
Expand Down

0 comments on commit 0fef0b2

Please sign in to comment.