From: Ruben Beltran del Rio Date: Mon, 28 Jun 2021 18:44:58 +0000 (+0200) Subject: Update submodules, error provision if no file X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/1c7e8bca4123c4e984518b23b3b5a545f5f1662e Update submodules, error provision if no file --- diff --git a/install_dotfiles b/install similarity index 94% rename from install_dotfiles rename to install index f9b8a50..90704af 100755 --- a/install_dotfiles +++ b/install @@ -4,6 +4,10 @@ echo "Installing essential software" ./provision essential +echo "Updating submodules" + +git submodule update --init --recursive + echo "Linking runcoms" # hush login diff --git a/provision b/provision index d36cced..1580c24 100755 --- a/provision +++ b/provision @@ -19,5 +19,6 @@ else cat ./provisioning/${command_name}_$1 | xargs ${command_name} install else echo "No provisioning recipe for $1 with $command_name" + exit 1 fi fi