- remove stale symlink to cronfile on update

OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=127
This commit is contained in:
Dirk Mueller 2021-06-04 07:19:16 +00:00 committed by Git OBS Bridge
parent 01807c2e9e
commit 1421e90fb4
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 4 07:18:37 UTC 2021 - Dirk Müller <dmueller@suse.com>
- remove stale symlink to cronfile on update
-------------------------------------------------------------------
Thu Feb 18 22:34:28 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -122,6 +122,8 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcsysstat
%post
%service_add_post sysstat.service sysstat-collect.timer sysstat-summary.timer
# Earlier versions used cron, remove leftover
rm -f /etc/cron.d/sysstat || :
%preun
%service_del_preun sysstat.service sysstat-collect.timer sysstat-summary.timer