Attempt to fix recursive cloning for submodules
This commit is contained in:
parent
406c50b4a5
commit
c73a495540
11
install.sh
11
install.sh
@ -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 submodule init && git submodule 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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user