diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 21:37:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 21:37:45 -0300 |
commit | 96549b7a25178444e49dc20254b4cbc7bebb5a52 (patch) | |
tree | 87c3366ba1d85dde76e32fb5f4fdcf20f901aa3a | |
parent | 424984d1e9440d282ae091abd3c9e655e6c4d400 (diff) | |
download | apps-96549b7a25178444e49dc20254b4cbc7bebb5a52.tar.gz apps-96549b7a25178444e49dc20254b4cbc7bebb5a52.tar.bz2 |
Inception script (2)
-rwxr-xr-x | inception | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/inception b/inception new file mode 100755 index 0000000..558dd6a --- /dev/null +++ b/inception @@ -0,0 +1,25 @@ +#!/bin/bash +# +# The inception. +# + +# Parameters +BASENAME="`basename $0`" +DIRNAME="`dirname $0`" + +# Setup +( + cd $DIRNAME + + echo "Initializing submodules..." + git submodule update --init + + echo "Cloning default dotfiles..." + ./metadot/metadot clone default + + echo "Loading all dotfiles..." + ./metadot/metadot load --all +) + +# Teardown +echo "Done. Logout and login again to apply all changes." |