From d60099c22a71dfc54f4eccf00721fb20a96f56ca Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sat, 17 Feb 2018 21:09:46 +0100 Subject: [PATCH] Fix wrong logic in update-profile script and explicitly create folder. --- home/bin/update-profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/bin/update-profile b/home/bin/update-profile index 5c05c25..454a88a 100755 --- a/home/bin/update-profile +++ b/home/bin/update-profile @@ -1,6 +1,7 @@ #!/bin/sh -if [ -d ~/.local/profile-git ]; then +if [ ! -d ~/.local/profile-git ]; then + mkdir -p ~/.local/profile-git git clone --recursive https://git.icedream.tech/icedream/profile.git ~/.local/profile-git fi