use a temp dir to avoid file conflict

This commit is contained in:
Spirit 👾 2024-08-07 11:28:44 +03:00 committed by GitHub
parent 4e2222b7b8
commit ae5f94d27d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,8 +12,8 @@ doas xbps-install -yu util-linux
# install deps required for setup # install deps required for setup
doas xbps-install -y git rsync make gcc libX11-devel libXft-devel libXinerama-devel xorg-server xinit xauth xorg-fonts xorg-input-drivers pkg-config doas xbps-install -y git rsync make gcc libX11-devel libXft-devel libXinerama-devel xorg-server xinit xauth xorg-fonts xorg-input-drivers pkg-config
mkdir $HOME/repos/ mkdir ./.setup-void.temp
cd $HOME/repos cd ./.setup-void.temp
git clone https://github.com/spirit-x64/dotfiles.git git clone https://github.com/spirit-x64/dotfiles.git
git clone https://github.com/spirit-x64/dwm.git git clone https://github.com/spirit-x64/dwm.git
@ -45,3 +45,6 @@ juliaup add 1.0.0
juliaup add 1.10 juliaup add 1.10
juliaup add 1.11 juliaup add 1.11
juliaup default 1.10 juliaup default 1.10
# clean up
rm -fr ./.setup-void.temp/