bootstrap: Use more secure temporary folder (that shit's world-readable, man)
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
git clone --recursive --separate-git-dir="$HOME/.dotfiles" git@github.com:rehashedsalt/home.git /tmp/dots
 | 
					tempfolder="/tmp/dots$(uuidgen)"
 | 
				
			||||||
rsync -rvl --exclude ".git" /tmp/dots/ $HOME/
 | 
					git clone --recursive --separate-git-dir="$HOME/.dotfiles" git@github.com:rehashedsalt/home.git $tempfolder
 | 
				
			||||||
rm -r /tmp/dots
 | 
					rsync -rvl --exclude ".git" $tempfolder/ $HOME/
 | 
				
			||||||
 | 
					rm -r $tempfolder
 | 
				
			||||||
git submodule update --init --recursive --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/
 | 
					git submodule update --init --recursive --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user