Run nginx-upgrade on package update

This commit is contained in:
Jamie Nguyen 2015-05-10 09:10:51 +01:00
parent 819034d98e
commit 5892e54ae9

View File

@ -216,6 +216,9 @@ fi
%postun %postun
%systemd_postun nginx.service %systemd_postun nginx.service
if [ $1 -ge 1 ]; then
/usr/bin/nginx-upgrade >/dev/null 2>&1 || :
fi
%files %files
%doc LICENSE CHANGES README %doc LICENSE CHANGES README