diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-24 12:44:57 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-24 12:45:30 -0700 |
commit | 4aa416cec8d966ffe1ad5a78cd3a2b365982ab53 (patch) | |
tree | 5a95f4b39153c06a90dbba5fce1ea721f522ce76 /bin/bstraph | |
parent | c67d4836f4d6d5e6c8ef4e2de38bd21ccb6ee1a1 (diff) | |
download | dotfiles-4aa416cec8d966ffe1ad5a78cd3a2b365982ab53.tar.gz |
don't unskel files we don't want to stow, and drop .bash_logout
Diffstat (limited to 'bin/bstraph')
-rwxr-xr-x | bin/bstraph | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bstraph b/bin/bstraph index 7d729ff3..445cd87e 100755 --- a/bin/bstraph +++ b/bin/bstraph @@ -13,7 +13,8 @@ cd "$HOME/src/dotfiles" if [ -d /etc/skel ]; then cd /etc/skel for file in $(find . -type f); do - [ -e "$HOME/$file" -a ! -h "$HOME/$file" ] \ + [ -e "$HOME/$file" -a ! -h "$HOME/$file" \ + -a -e "$HOME/src/dotfiles/$file" ] \ && cmp "$file" "$HOME/$file" >/dev/null && rm "$HOME/$file" done cd "$HOME/src/dotfiles" |