]> git.pld-linux.org Git - packages/SysVinit.git/commitdiff
- rel 3; don't fail in trigger auto/th/SysVinit-2.94-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 8 Mar 2019 20:58:40 +0000 (21:58 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 8 Mar 2019 20:58:40 +0000 (21:58 +0100)
SysVinit.spec

index 8376d0f04ab3abf1ba20a0cf71cfbe846a3f17dd..e5e45dae27336b2a7c961f677eb2f895511344b0 100644 (file)
@@ -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
This page took 0.041821 seconds and 4 git commands to generate.