chiark / gitweb /
check_tree.pl: Do not change /run/systemd
authorSven Eden <yamakuzure@gmx.net>
Mon, 23 Apr 2018 09:03:46 +0000 (11:03 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 23 Apr 2018 09:04:58 +0000 (11:04 +0200)
pwx/check_tree.pl

index 19c3098c1093fed1db80c4381ea89abaaf15a7b5..6c10d92e2b3115776d3dac267ce3a75a5b8b8b72 100755 (executable)
@@ -1107,6 +1107,12 @@ sub check_name_reverts {
                        # 2) References to the systemd github site must not be changed
                        $replace_text =~ m,github\.com/systemd, and next;
 
+                       # 3) /run/systemd/ must not be changed, as other applications
+                       #    rely on that naming.
+                       # Note: The /run/elogind.pid file is not touched by that, as
+                       #       systemd does not have something like that.
+                       $replace_text =~ m,/run/systemd, and next;
+
                        # Make the following easier with a simple shortcut:
                        my $o_txt = defined($hRemovals{$our_text_long }) ? $our_text_long  :
                                    defined($hRemovals{$our_text_short}) ? $our_text_short :