/etckeeper/commit.d/30bzr-add

http://github.com/brinkman83/bashrc · Shell · 8 lines · 6 code · 1 blank · 1 comment · 3 complexity · 41aa05282e6e9fc9e97bbae6a8e2a3aa MD5 · raw file

  1. #!/bin/sh
  2. set -e
  3. if [ "$VCS" = bzr ] && [ -d .bzr ]; then
  4. if ! bzr add -q .; then
  5. echo "etckeeper warning: bzr add failed" >&2
  6. fi
  7. fi