forked from pool/systemd-rpm-macros
- Make sure to clean up "new-in-upgrade" tag file (bsc#1059627)
The tag file might have been incorrectly left by a preceding update. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=24
This commit is contained in:
parent
5305ff9a1f
commit
d1be0ff64f
@ -78,6 +78,10 @@ if [ "$FIRST_ARG" -eq 1 ]; then \
|
||||
done \
|
||||
else \
|
||||
for service in %{?*} ; do \
|
||||
# The tag file might have been left by a preceding \
|
||||
# update (see 1059627) \
|
||||
rm -f "/run/rpm-%{name}-update-$service-new-in-upgrade" \
|
||||
\
|
||||
if [ ! -e "/usr/lib/systemd/system/$service" ]; then \
|
||||
touch "/run/rpm-%{name}-update-$service-new-in-upgrade" \
|
||||
fi \
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 1 10:47:29 UTC 2017 - fbui@suse.com
|
||||
|
||||
- Make sure to clean up "new-in-upgrade" tag file (bsc#1059627)
|
||||
|
||||
The tag file might have been incorrectly left by a preceding update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 14:41:00 UTC 2017 - fbui@suse.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user