Mageia Bugzilla – Attachment 994 Details for
Bug 2865
rpm-helper/del-service errors when uninstalling package
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch for the patch
rpm-helper-fix-systemd-support-breakage.patch.patch (text/plain), 739 bytes, created by
Barry Jackson
on 2011-10-23 01:12:40 CEST
(
hide
)
Description:
patch for the patch
Filename:
MIME Type:
Creator:
Barry Jackson
Created:
2011-10-23 01:12:40 CEST
Size:
739 bytes
patch
obsolete
>--- rpm-helper-fix-systemd-support-breakage.patch_orig 2011-10-22 23:04:47.989583368 +0100 >+++ rpm-helper-fix-systemd-support-breakage.patch 2011-10-22 23:44:55.243898442 +0100 >@@ -6,7 +6,7 @@ > > # support for systemd > - if [ -x /bin/systemctl ]; >-+ if [ -x /bin/systemctl ]; then >++ if [ -x /bin/systemctl ] && ps aux |grep -q [/]bin/systemd; then > /bin/systemctl enable ${srv}.service > /dev/null 2>&1 > fi > >@@ -18,7 +18,7 @@ > fi > # support for systemd > - if [ -x /bin/systemctl ]; >-+ if [ -x /bin/systemctl ]; then >++ if [ -x /bin/systemctl ] && ps aux |grep -q [/]bin/systemd; then > /bin/systemctl disable ${srv}.service > /dev/null 2>&1 > /bin/systemctl daemon-reload > fi
--- rpm-helper-fix-systemd-support-breakage.patch_orig 2011-10-22 23:04:47.989583368 +0100 +++ rpm-helper-fix-systemd-support-breakage.patch 2011-10-22 23:44:55.243898442 +0100 @@ -6,7 +6,7 @@ # support for systemd - if [ -x /bin/systemctl ]; -+ if [ -x /bin/systemctl ]; then ++ if [ -x /bin/systemctl ] && ps aux |grep -q [/]bin/systemd; then /bin/systemctl enable ${srv}.service > /dev/null 2>&1 fi @@ -18,7 +18,7 @@ fi # support for systemd - if [ -x /bin/systemctl ]; -+ if [ -x /bin/systemctl ]; then ++ if [ -x /bin/systemctl ] && ps aux |grep -q [/]bin/systemd; then /bin/systemctl disable ${srv}.service > /dev/null 2>&1 /bin/systemctl daemon-reload fi
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2865
: 994