diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-14 10:14:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-14 10:14:52 -0300 |
commit | ca31141baf36b3e3aa8f8bbb57036ddefd9e7aca (patch) | |
tree | 68432b806a076832a104a10dca520f612452f784 | |
parent | ee0ffe80742e8c395698e64fbed56579b4a08611 (diff) | |
download | apps-ca31141baf36b3e3aa8f8bbb57036ddefd9e7aca.tar.gz apps-ca31141baf36b3e3aa8f8bbb57036ddefd9e7aca.tar.bz2 |
Updates apps
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | inception | 18 |
2 files changed, 18 insertions, 6 deletions
@@ -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: @@ -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." |