packages: systemd/systemd-sysv-convert - fix rc.d dir lookup for PLD

cactus cactus at pld-linux.org
Tue Nov 29 17:32:20 CET 2011


Author: cactus                       Date: Tue Nov 29 16:32:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix rc.d dir lookup for PLD

---- Files affected:
packages/systemd:
   systemd-sysv-convert (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/systemd/systemd-sysv-convert
diff -u packages/systemd/systemd-sysv-convert:1.1 packages/systemd/systemd-sysv-convert:1.2
--- packages/systemd/systemd-sysv-convert:1.1	Tue Nov 29 17:11:43 2011
+++ packages/systemd/systemd-sysv-convert	Tue Nov 29 17:32:15 2011
@@ -6,7 +6,7 @@
 def find_service(service, runlevel):
 	priority = -1
 
-	for l in os.listdir("/etc/rc%i.d" % runlevel):
+	for l in os.listdir("/etc/rc.d/rc%i.d" % runlevel):
 		if len(l) < 4:
 			continue
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/systemd/systemd-sysv-convert?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list