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:
commit
3dcebe25e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user