aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-19 21:37:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-19 21:37:45 -0300
commit96549b7a25178444e49dc20254b4cbc7bebb5a52 (patch)
tree87c3366ba1d85dde76e32fb5f4fdcf20f901aa3a /inception
parent424984d1e9440d282ae091abd3c9e655e6c4d400 (diff)
downloadapps-96549b7a25178444e49dc20254b4cbc7bebb5a52.tar.gz
apps-96549b7a25178444e49dc20254b4cbc7bebb5a52.tar.bz2
Inception script (2)
Diffstat (limited to 'inception')
-rwxr-xr-xinception25
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."