db-move: moved gcr from [testing] to [extra] (x86_64)
[arch-packages.git] / netctl / trunk / netctl.install
blob920ce5e2014ad01ad401a8c70c899c2efa7e9e3a
1 post_upgrade() {
2     if [[ $(vercmp 1.18 "$2") -gt 0 ]]; then
3         grep -ls '^.include ' /etc/systemd/system/netctl@*.service | \
4           while read -r unit; do
5             profile=$(systemd-escape --unescape "${unit:27:-8}")
6             echo ":: The unit for profile '$profile' uses deprecated features."
7             echo "   Consider running: netctl reenable $(printf '%q' "$profile")"
8         done
9     fi