diff --git a/home/bin/update-profile b/home/bin/update-profile index 2838332..c5f8e8f 100755 --- a/home/bin/update-profile +++ b/home/bin/update-profile @@ -8,7 +8,8 @@ file_changed() { 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 init + git remote add origin https://git.icedream.tech/icedream/profile.git ~/.local/profile-git fi ( @@ -59,6 +60,7 @@ fi echo "All commits passed, now applying updates..." git rebase origin + git submodule update --init echo "Running package installation..." cd packages