archrelease: copy trunk to community-any
[ArchLinux/community.git] / strongswan / repos / community-x86_64 / strongswan.install
blob4f9ace63fad2cced0263b2b0fe52facedebe588c
1 post_upgrade() {
2   if (($(vercmp 5.8.0-1 $2) > 0)); then
3     echo "
4     Strongswan 5.8.0-1 introduced new names for the systemd unit files:
6     strongswan.service got renamed to strongswan-starter.service
7     strongswan-swanctl.service got renamed to strongswan.service
9     If you use the legacy ipsec.conf, you need to enable
10     strongswan-starter.service from now on.
12     If you use swanctl, you need to enable strongswan.service from now on.
13     EOF
14     "
15   fi