Run nginx-upgrade on package update
This commit is contained in:
parent
819034d98e
commit
5892e54ae9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user