From ca31141baf36b3e3aa8f8bbb57036ddefd9e7aca Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 14 Mar 2017 10:14:52 -0300 Subject: Updates apps --- inception | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'inception') 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." -- cgit v1.2.3