summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-May/015796.html
blob: c986754ed640317a663463fef0e8051e5c8b02f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [soft-commits] [4584] (systemd_unit_exists)	factorize
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4584%5D%20%28systemd_unit_exists%29%0A%09factorize&In-Reply-To=%3CCAONrEtZPR9fCx_9i9kQWYxmZd8uFR%3Dqz6H-VX53YNUOMf22LQA%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="015795.html">
   <LINK REL="Next"  HREF="015797.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists)	factorize</H1>
    <B>Thierry Vignaud</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4584%5D%20%28systemd_unit_exists%29%0A%09factorize&In-Reply-To=%3CCAONrEtZPR9fCx_9i9kQWYxmZd8uFR%3Dqz6H-VX53YNUOMf22LQA%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists)	factorize">thierry.vignaud at gmail.com
       </A><BR>
    <I>Wed May 23 20:55:32 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="015795.html">[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists)	factorize
</A></li>
        <LI>Next message: <A HREF="015797.html">[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#15796">[ date ]</a>
              <a href="thread.html#15796">[ thread ]</a>
              <a href="subject.html#15796">[ subject ]</a>
              <a href="author.html#15796">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 23 May 2012 20:38, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
&gt;&gt;<i> BTW Colin your test is redundant. -e returns true for symlinks too
</I>&gt;&gt;<i> (unless target doesn't exist in which case we don't care much anyway...)
</I>&gt;<i>
</I>&gt;<i> NAK. No it's not redundant it's very important. The symlinks *will* be
</I>&gt;<i> broken when run via the installer due to the $::prefix as they will
</I>&gt;<i> point to &quot;non-existent&quot; paths in /lib/systemd/ (not to
</I>&gt;<i> /mnt/lib/systemd...) so I treat any symlink that exists (even if it
</I>&gt;<i> points to an invalid unit) as &quot;valid&quot; here.
</I>
humm indeed.

&gt;<i> I think I even said as much in a comment or the commit log that it's
</I>&gt;<i> important :)
</I>
Then I think it deserves a comment in the code too :-)
</PRE>












<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="015795.html">[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists)	factorize
</A></li>
	<LI>Next message: <A HREF="015797.html">[Mageia-dev] [soft-commits] [4584] (systemd_unit_exists) factorize
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#15796">[ date ]</a>
              <a href="thread.html#15796">[ thread ]</a>
              <a href="subject.html#15796">[ subject ]</a>
              <a href="author.html#15796">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>