archrelease: copy trunk to extra-x86_64
[arch-packages.git] / varnish / repos / extra-x86_64 / varnish.install
blob57fe74bd2eda26d1dc985a6d31ba93b5e4d51deb
1 # remove localstatedir -- compiled VCL and slab files will still be here.
2 post_remove() {
3   rm -rf var/lib/varnish
6 post_upgrade() {
7   if [[ $(vercmp 6.0.0-1 "$2") -eq 1 ]]; then
8     echo ":: You must update your VCL to be compatible with varnish 6. See the"
9     echo "   following upgrade guide to port your configuration:"
10     echo "   http://varnish-cache.org/docs/6.2/whats-new/upgrading-6.2.html"
11   fi