Run nginx-upgrade on package update

This commit is contained in:
Jamie Nguyen 2015-05-10 09:10:51 +01:00
parent abfbfbdfeb
commit 8960fe5b7c
1 changed files with 3 additions and 0 deletions

View File

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