- Dont apply presets when migrating from a disabled initscript (bsc#1178481)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=49
This commit is contained in:
parent
179aa8a211
commit
4097fa89ce
@ -75,7 +75,8 @@ if [ $1 -gt 1 -a -x /usr/bin/systemctl ]; then \
|
|||||||
# update (see bsc#1059627) \
|
# update (see bsc#1059627) \
|
||||||
rm -f "/run/rpm-%{name}-update-$service-new-in-upgrade" \
|
rm -f "/run/rpm-%{name}-update-$service-new-in-upgrade" \
|
||||||
\
|
\
|
||||||
if [ ! -e "/usr/lib/systemd/system/$service" ]; then \
|
if [ ! -e "/usr/lib/systemd/system/$service" ] && \
|
||||||
|
[ ! -e "/etc/init.d/${service%.*}" ]; then \
|
||||||
touch "/run/rpm-%{name}-update-$service-new-in-upgrade" \
|
touch "/run/rpm-%{name}-update-$service-new-in-upgrade" \
|
||||||
fi \
|
fi \
|
||||||
done \
|
done \
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 9 11:36:56 UTC 2020 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- Dont apply presets when migrating from a disabled initscript (bsc#1178481)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 9 08:47:04 UTC 2020 - Franck Bui <fbui@suse.com>
|
Mon Nov 9 08:47:04 UTC 2020 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user