diff options
author | L. Alberto Giménez <agimenez@sysvalve.es> | 2012-11-18 23:51:20 +0100 |
---|---|---|
committer | L. Alberto Giménez <agimenez@sysvalve.es> | 2012-11-18 23:51:20 +0100 |
commit | 5f6c02e23aa11e8840bbe5c59c9e3ff670e81397 (patch) | |
tree | cc0c9bae683a2533a75205bd9ed289a99c8b0089 /etckeeper | |
parent | cfd2efaab79f8791fc653abf4bd88eaf7a459dad (diff) |
Add support for auto-pushing after a commit
A new variable is introduced that will cause etckeeper to push to a
configuration-defined remote.
Diffstat (limited to 'etckeeper')
-rwxr-xr-x | etckeeper | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -54,6 +54,10 @@ if [ ! -z "$AVOID_SPECIAL_FILE_WARNING" ]; then export AVOID_SPECIAL_FILE_WARNING fi +if [ ! -z "$PUSH_REMOTE" ]; then + export PUSH_REMOTE +fi + if [ -z "$1" ]; then usage elif [ "x$1" = "x-h" ] || [ "x$1" = "x--help" ]; then |