]> gitweb.fluxo.info Git - rhatto/apps.git/commitdiff
Updates apps
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 14 Mar 2017 13:14:52 +0000 (10:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 14 Mar 2017 13:14:52 +0000 (10:14 -0300)
README.md
inception

index e65bca877620b6fc0d18082f27795bffc54b9bf9..3cbc1e489154e8616c8b7589079a071e7fdf7fd4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -11,9 +11,9 @@ Get the code:
 
     git clone --recursive https://git.fluxo.info/rhatto/apps $HOME/apps && cd $HOME/apps
 
-Then check the source integrity of the latest release (also implemented on `git-check-tag` on `utils-git` subfolder):
+Then check the source integrity of the latest release:
 
-    git verify-commit HEAD
+    /usr/bin/git -C $HOME/apps verify-commit HEAD
 
 Then add each subfolder from the `apps` repository to your `$PATH` depending on which projects you want to use.
 
@@ -26,7 +26,7 @@ A more radical approach takes over of all your environment (shell and desktop ex
 
 Then, after manually checking repository versions:
 
-    $HOME/apps/inception load
+    $HOME/apps/inception load --all --deps
 
 Once installed locally, you can deploy remotelly using rsync+ssh:
 
index d66f38f8ee2cd45213a175d69a6e822aeba4c217..a24b0dc37b5e5c615dd1db235c9bcf25468dc175 100755 (executable)
--- 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."