Attempt to fix recursive cloning for submodules

This commit is contained in:
Andrew R. M 2024-04-15 14:48:22 +00:00
parent dafc207f96
commit 962ea1182e

View File

@ -1,6 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Install my dotfiles on a variety of systems
echo "CURRENT LOCATION: $PWD" set -ex
echo "PWD: $PWD"
# Coder dotfiles (and most other ways of doing this) will not do a recursive clone, so do that in install script.
git submodules update
echo "Installing dotfiles..." echo "Installing dotfiles..."
if [ -f /etc/os-release ]; then if [ -f /etc/os-release ]; then
@ -28,6 +33,6 @@ else
fi fi
# Apply the dotfiles with stow # Apply the dotfiles with stow
echo "RUNNING APPLY DOTFILES" echo "Running apply dotfiles"
./apply-dotfiles ./apply-dotfiles
echo "RAN APPLY DOTFILES" echo "Dotfiles applied successfully"