Fix wrong logic in update-profile script and explicitly create folder.

master
Icedream 2018-02-17 21:09:46 +01:00
parent f6a24f1ea1
commit d60099c22a
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/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 git clone --recursive https://git.icedream.tech/icedream/profile.git ~/.local/profile-git
fi fi