Don't check out dotfiles if we already have them

This commit is contained in:
David Morgan 2022-11-10 13:36:40 +00:00
parent cc07af2059
commit e46481a2b2
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
git clone git@codeberg.org:djm/dotfiles.git
[ -e ~/dotfiles ] || git clone git@codeberg.org:djm/dotfiles.git
nix-channel --add https://github.com/nix-community/home-manager/archive/release-$(nixos-version | cut -d. -f1-2).tar.gz home-manager
nix-channel --update