summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-09 22:59:49 +0100
committerdavidovski <david@davidovski.xyz>2021-10-09 22:59:49 +0100
commit81aab4ab0e38e1c3dfcba82eef5ab8a7adac921e (patch)
tree3b7e6567ee7ce56d5d7f06b6a408208ebd58fd1b
parent49fff5a029e08f31941c75c19a72d7e7eb1ed172 (diff)
fixed recreating badly
-rwxr-xr-xdeploy.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 981a3b8..f7913f6 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -35,8 +35,10 @@ load () {
read confirmation
if [[ $confirmation == "confirm" ]]; then
- cp -r config $HOME/.config
- cp -r scripts $HOME/.scripts
+ mkdir -p $HOME/.config
+ cp -r config/* $HOME/.config
+ mkdir -p $HOME/.scripts
+ cp -r scripts/* $HOME/.scripts
cp bashrc $HOME/.bashrc
cp bash_aliases $HOME/.bash_aliases