Compare commits
2 commits
640b324401
...
ec10041024
Author | SHA1 | Date | |
---|---|---|---|
|
ec10041024 | ||
|
3a1b236147 |
2 changed files with 22 additions and 11 deletions
16
README.md
16
README.md
|
@ -18,11 +18,12 @@
|
|||
**yadm** is a tool for managing [dotfiles][].
|
||||
|
||||
* Based on [Git][], with full range of Git's features
|
||||
* Supports system-specific alternative files or templated files
|
||||
* Encryption of private data using [GnuPG][], [OpenSSL][], [transcrypt][], or
|
||||
[git-crypt][]
|
||||
* Customizable initialization (bootstrapping)
|
||||
* Customizable hooks for before and after any operation
|
||||
* Supports system-specific [alternative][feature-alternates] files or
|
||||
[templated][feature-templates] files
|
||||
* [Encryption][feature-encryption] of private data using [GnuPG][],
|
||||
[OpenSSL][], [transcrypt][], or [git-crypt][]
|
||||
* Customizable initialization ([bootstrapping][feature-bootstrap])
|
||||
* Customizable [hooks][feature-hooks] for before and after any operation
|
||||
|
||||
Complete features, usage, examples and installation instructions can be found on
|
||||
the [yadm.io][website-link] website.
|
||||
|
@ -63,6 +64,11 @@ The star count helps others discover yadm.
|
|||
[develop-commits]: https://github.com/yadm-dev/yadm/commits/develop
|
||||
[develop-date]: https://img.shields.io/github/last-commit/yadm-dev/yadm/develop.svg?label=develop
|
||||
[dotfiles]: https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory
|
||||
[feature-alternates]: https://yadm.io/docs/alternates
|
||||
[feature-bootstrap]: https://yadm.io/docs/bootstrap
|
||||
[feature-hooks]: https://yadm.io/docs/hooks
|
||||
[feature-encryption]: https://yadm.io/docs/encryption
|
||||
[feature-templates]: https://yadm.io/docs/templates
|
||||
[gh-pages-badge]: https://img.shields.io/github/actions/workflow/status/yadm-dev/yadm/test.yml?branch=gh-pages
|
||||
[git-crypt]: https://github.com/AGWA/git-crypt
|
||||
[homebrew-badge]: https://img.shields.io/homebrew/v/yadm.svg
|
||||
|
|
|
@ -14,11 +14,16 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
|
||||
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
|
||||
if ! "$bootstrap"; then
|
||||
echo "Error: bootstrap '$bootstrap' failed" >&2
|
||||
exit 1
|
||||
fi
|
||||
declare -a bootstraps
|
||||
while IFS= read -r bootstrap; do
|
||||
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ ~$ ]]; then
|
||||
bootstraps+=("$bootstrap")
|
||||
fi
|
||||
done < <(find -L "$BOOTSTRAP_D" -type f | sort)
|
||||
|
||||
for bootstrap in "${bootstraps[@]}"; do
|
||||
if ! "$bootstrap"; then
|
||||
echo "Error: bootstrap '$bootstrap' failed" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue