1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Merge pull request #110 from altlinux/storage_trigger

Postinst trigger introduced
This commit is contained in:
Evgeny Sinelnikov 2020-08-26 17:56:33 +04:00 committed by GitHub
commit 3dcebe25e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,11 @@ install -Dm0644 doc/gpupdate.1 %buildroot/%_man1dir/gpupdate.1
%post
%post_service gpupdate
# Remove storage in case we've lost compatibility between versions.
# The storage will be regenerated on GPOA start.
%triggerpostun -- %name > 0.7
rm -f %_cachedir/%name/registry.sqlite
%files
%_sbindir/gpoa
%_sbindir/gpupdate-setup