From ae5f94d27d8c9f049379399ccdc1c805ec3fd9e7 Mon Sep 17 00:00:00 2001 From: Spirit Date: Wed, 7 Aug 2024 11:28:44 +0300 Subject: [PATCH] use a temp dir to avoid file conflict --- setup-void.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup-void.sh b/setup-void.sh index 05e0fcc..b0141c9 100644 --- a/setup-void.sh +++ b/setup-void.sh @@ -12,8 +12,8 @@ doas xbps-install -yu util-linux # 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 -mkdir $HOME/repos/ -cd $HOME/repos +mkdir ./.setup-void.temp +cd ./.setup-void.temp git clone https://github.com/spirit-x64/dotfiles.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.11 juliaup default 1.10 + +# clean up +rm -fr ./.setup-void.temp/