[packages/systemd] since 240 /var/lib/systemd/timesync needs to be directory instead of symlink

atler atler at pld-linux.org
Sat Apr 13 15:39:16 CEST 2019


commit aab2a6f93795d53a867ca31b48b8247c8af6f706
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Apr 13 15:38:06 2019 +0200

    since 240 /var/lib/systemd/timesync needs to be directory instead of symlink

 systemd.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/systemd.spec b/systemd.spec
index c51c155..bad19a1 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -1003,6 +1003,11 @@ if [ -L /etc/systemd/system/getty.target.wants/getty at .service ] ; then
 	rm -f /etc/systemd/system/getty.target.wants/getty at .service || :
 fi
 
+%triggerpostun units -- systemd-units < 1:242
+if [ -L /var/lib/systemd/timesync ] ; then
+	rm -f /var/lib/systemd/timesync || :
+fi
+
 %post inetd
 %systemd_reload
 # Do not change it to restart, we only want to start new services here
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/aab2a6f93795d53a867ca31b48b8247c8af6f706



More information about the pld-cvs-commit mailing list