aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-14 10:14:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-14 10:14:52 -0300
commitca31141baf36b3e3aa8f8bbb57036ddefd9e7aca (patch)
tree68432b806a076832a104a10dca520f612452f784 /inception
parentee0ffe80742e8c395698e64fbed56579b4a08611 (diff)
downloadapps-ca31141baf36b3e3aa8f8bbb57036ddefd9e7aca.tar.gz
apps-ca31141baf36b3e3aa8f8bbb57036ddefd9e7aca.tar.bz2
Updates apps
Diffstat (limited to 'inception')
-rwxr-xr-xinception18
1 files changed, 15 insertions, 3 deletions
diff --git a/inception b/inception
index d66f38f..a24b0dc 100755
--- a/inception
+++ b/inception
@@ -43,9 +43,21 @@ elif [ "$1" == "load" ]; then
(
cd $DIRNAME
- echo "Loading all dotfiles..."
- ./metadot/metadot load --all
- ./metadot/metadot deps --all
+ BUNDLE="$2"
+ DEPENDENCIES="$3"
+
+ if [ "$BUNDLE" == "--all" ]; then
+ echo "Loading all dotfiles..."
+ ./metadot/metadot load --all
+ ./metadot/metadot deps --all
+ elif [ -z "$BUNDLE" ]; then
+ echo "Loading $BUNDLE dotfiles..."
+ ./metadot/metadot load-bundle $BUNDLE
+
+ if [ "$DEPENDENCIES" == "--deps" ]; then
+ ./metadot/metadot deps-bundle $BUNDLE
+ fi
+ fi
)
echo "Done. Logout and login again to apply all changes."