commit 299c578726cceae33b7102608401d1055ea2751f
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Fri Mar 8 21:58:40 2019 +0100

    - rel 3; don't fail in trigger

 SysVinit.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/SysVinit.spec b/SysVinit.spec
index 8376d0f..e5e45da 100644
--- a/SysVinit.spec
+++ b/SysVinit.spec
@@ -13,7 +13,7 @@ Summary(tr.UTF-8):    System V başlatma programı
 Summary(uk.UTF-8):     Програми, що керують базовими системними процесами
 Name:          SysVinit
 Version:       2.94
-Release:       2
+Release:       3
 License:       GPL v2+
 Group:         Base
 Source0:       
http://download.savannah.gnu.org/releases/sysvinit/sysvinit-%{version}.tar.xz
@@ -219,7 +219,9 @@ fi
 
 %triggerun -- SysVinit < 2.94-1
 # it will be needed once until reboot happens
-[ -p /dev/initctl -a ! -e /run/initctl ] && ln -s /dev/initctl /run/initctl
+if [ -p /dev/initctl -a ! -e /run/initctl ]; then
+       ln -s /dev/initctl /run/initctl || :
+fi
 
 %triggerpostun -- glibc
 if [ -p /run/initctl ]; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SysVinit.git/commitdiff/299c578726cceae33b7102608401d1055ea2751f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to