diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-14 03:52:55 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-14 03:52:55 +0000 |
commit | 7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (patch) | |
tree | a65448ff1236d65a3fea9015e7cd01e6483eb282 /extra/varnish/varnish.install | |
parent | 3d6877ee9ee7bba813a4b6be30a11d2b1942c656 (diff) |
Mon Apr 14 03:47:31 UTC 2014
Diffstat (limited to 'extra/varnish/varnish.install')
-rw-r--r-- | extra/varnish/varnish.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/varnish/varnish.install b/extra/varnish/varnish.install index 1cbb1f16e..66e825f70 100644 --- a/extra/varnish/varnish.install +++ b/extra/varnish/varnish.install @@ -4,3 +4,11 @@ post_remove() { rm -rf var/lib/varnish } + +post_upgrade() { + if [ "$(vercmp 4.0.0-1 "$2")" -eq 1 ]; then + echo ":: You must update your VCL to be compatible with 4.0.0. See the following" + echo " upgrade guide to port your configuration:" + echo " https://www.varnish-cache.org/docs/trunk/whats-new/upgrading.html" + fi +} |