diff options
author | Kr1ss | 2019-10-02 14:47:52 +0200 |
---|---|---|
committer | Kr1ss | 2019-10-02 14:47:52 +0200 |
commit | bf1353761abfe72fa3043dce12bf19f298a76afe (patch) | |
tree | b0b3bd5f0c9c603b21d66b3edc430a219ed5de4b /borgmatic.install | |
parent | 0f6960d4dc1df4a83ef4b789cc3bcfabe5c24811 (diff) | |
download | aur-bf1353761abfe72fa3043dce12bf19f298a76afe.tar.gz |
update: borgmatic 1.3.23-1
upstream release
Diffstat (limited to 'borgmatic.install')
-rw-r--r-- | borgmatic.install | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/borgmatic.install b/borgmatic.install index 40ba1e2389aa..c247b7fc03e9 100644 --- a/borgmatic.install +++ b/borgmatic.install @@ -1,19 +1,27 @@ post_install() { - echo " WARNING: If you are updating from a 1.0.x release you should run:" - echo "" - echo " sudo upgrade-borgmatic-config" - echo "" - echo " to convert your config from ini to yaml format." - echo " For more information: https://torsion.org/borgmatic/" + cat <<-EOT + + WARNING: If you are updating from a 1.0.x release you should run: + + sudo upgrade-borgmatic-config + + convert your config from ini to yaml format. + more information: https://torsion.org/borgmatic/ + + EOT } post_upgrade() { - echo " WARNING: If you are updating from a 1.0.x release you should run:" - echo "" - echo " sudo upgrade-borgmatic-config" - echo "" - echo " To convert your config from ini to yaml format." - echo " For more information: https://torsion.org/borgmatic/" + [ "${2%.*}" != "1.0" ] || cat <<-EOT + + WARNING: You are updating from a 1.0.x release. Please run: + + sudo upgrade-borgmatic-config + + convert your config from ini to yaml format. + more information: https://torsion.org/borgmatic/ + + EOT } -# vim: ts=2 sw=2 et: +# vim: ts=2 sw=2 noet: |