| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:46+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "SYSTEMD\\&.ENVIRONMENT-GENERATOR" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux |
| 28 |
#, no-wrap |
| 29 |
msgid "systemd 260.2" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 34 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "systemd.environment-generator" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. ----------------------------------------------------------------- |
| 40 |
#. * MAIN CONTENT STARTS HERE * |
| 41 |
#. ----------------------------------------------------------------- |
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "systemd.environment-generator - systemd environment file generators" |
| 53 |
msgstr "" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "SYNOPSIS" |
| 60 |
msgstr "" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "B</usr/lib/systemd/system-environment-generators/some-generator>" |
| 66 |
msgstr "" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
msgid "B</usr/lib/systemd/user-environment-generators/some-generator>" |
| 72 |
msgstr "" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
msgid "/run/systemd/system-environment-generators/*" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
msgid "/etc/systemd/system-environment-generators/*" |
| 84 |
msgstr "" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
msgid "/usr/local/lib/systemd/system-environment-generators/*" |
| 90 |
msgstr "" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
msgid "/usr/lib/systemd/system-environment-generators/*" |
| 96 |
msgstr "" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 101 |
msgid "/run/systemd/user-environment-generators/*" |
| 102 |
msgstr "" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
msgid "/etc/systemd/user-environment-generators/*" |
| 108 |
msgstr "" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "/usr/local/lib/systemd/user-environment-generators/*" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "/usr/lib/systemd/user-environment-generators/*" |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#. type: SH |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
#, no-wrap |
| 126 |
msgid "DESCRIPTION" |
| 127 |
msgstr "" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
msgid "" |
| 133 |
"Generators are small executables that live in /usr/lib/systemd/system-" |
| 134 |
"environment-generators/ and other directories listed above\\&. " |
| 135 |
"B<systemd>(1) will execute those binaries very early at the startup of each " |
| 136 |
"manager and at configuration reload time, before running the generators " |
| 137 |
"described in B<systemd.generator>(7) and before starting any units\\&. " |
| 138 |
"Environment generators can override the environment that the manager exports " |
| 139 |
"to services and other processes\\&." |
| 140 |
msgstr "" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
msgid "" |
| 146 |
"Generators are loaded from a set of paths determined during compilation, as " |
| 147 |
"listed above\\&. System and user environment generators are loaded from " |
| 148 |
"directories with names ending in system-environment-generators/ and user-" |
| 149 |
"environment-generators/, respectively\\&. Generators found in directories " |
| 150 |
"listed earlier override the ones with the same name in directories lower in " |
| 151 |
"the list \\&\\s-2\\u[1]\\d\\s+2\\&. A symlink to /dev/null or an empty file " |
| 152 |
"can be used to mask a generator, thereby preventing it from running\\&. " |
| 153 |
"Please note that the order of the two directories with the highest priority " |
| 154 |
"is reversed with respect to the unit load path, and generators in /run/ " |
| 155 |
"overwrite those in /etc/\\&." |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"After installing new generators or updating the configuration, B<systemctl " |
| 163 |
"daemon-reload> may be executed\\&. This will re-run all generators, updating " |
| 164 |
"environment configuration\\&. It will be used for any services that are " |
| 165 |
"started subsequently\\&." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "" |
| 172 |
"Environment file generators are executed similarly to unit file generators " |
| 173 |
"described in B<systemd.generator>(7), with the following differences:" |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
msgid "" |
| 180 |
"Generators are executed sequentially in the alphanumerical order of the " |
| 181 |
"final component of their name\\&. The output of each generator output is " |
| 182 |
"immediately parsed and used to update the environment for generators that " |
| 183 |
"run after that\\&. Thus, later generators can use and/or modify the output " |
| 184 |
"of earlier generators\\&." |
| 185 |
msgstr "" |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"Generators are run by every manager instance, their output can be different " |
| 192 |
"for each user\\&." |
| 193 |
msgstr "" |
| 194 |
|
| 195 |
#. type: Plain text |
| 196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 198 |
msgid "" |
| 199 |
"It is recommended to use numerical prefixes for generator names to simplify " |
| 200 |
"ordering\\&." |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: SH |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
#, no-wrap |
| 207 |
msgid "EXAMPLES" |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "" |
| 214 |
"B<Example\\ \\&1.\\ \\&A simple generator that extends an environment " |
| 215 |
"variable if a directory exists in the file system>" |
| 216 |
msgstr "" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, no-wrap |
| 222 |
msgid "# 50-xdg-data-dirs\\&.sh\n" |
| 223 |
msgstr "" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "" |
| 230 |
"#!/bin/sh\n" |
| 231 |
"# SPDX-License-Identifier: MIT-0\n" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "" |
| 239 |
"# set the default value\n" |
| 240 |
"XDG_DATA_DIRS=\"${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}\"\n" |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
#, no-wrap |
| 247 |
msgid "" |
| 248 |
"# add a directory if it exists\n" |
| 249 |
"if [ -d /opt/foo/share ]; then\n" |
| 250 |
" XDG_DATA_DIRS=\"/opt/foo/share:${XDG_DATA_DIRS}\"\n" |
| 251 |
"fi\n" |
| 252 |
msgstr "" |
| 253 |
|
| 254 |
#. type: Plain text |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "" |
| 259 |
"# write our output\n" |
| 260 |
"echo \"XDG_DATA_DIRS=${XDG_DATA_DIRS}\"\n" |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"B<Example\\ \\&2.\\ \\&A more complicated generator which reads existing " |
| 268 |
"configuration and mutates one variable>" |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "# 90-rearrange-path\\&.py\n" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 280 |
#: opensuse-tumbleweed |
| 281 |
#, no-wrap |
| 282 |
msgid "" |
| 283 |
"#!/usr/bin/python\n" |
| 284 |
"# SPDX-License-Identifier: MIT-0\n" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
#, no-wrap |
| 291 |
msgid "\"\"\"\n" |
| 292 |
msgstr "" |
| 293 |
|
| 294 |
#. type: Plain text |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
#, no-wrap |
| 298 |
msgid "" |
| 299 |
"Proof-of-concept systemd environment generator that makes sure that bin dirs\n" |
| 300 |
"are always after matching sbin dirs in the path\\&.\n" |
| 301 |
"(Changes /sbin:/bin:/foo/bar to /bin:/sbin:/foo/bar\\&.)\n" |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
#, no-wrap |
| 308 |
msgid "" |
| 309 |
"This generator shows how to override the configuration possibly created by\n" |
| 310 |
"earlier generators\\&. It would be easier to write in bash, but let\\*(Aqs have it\n" |
| 311 |
"in Python just to prove that we can, and to serve as a template for more\n" |
| 312 |
"interesting generators\\&.\n" |
| 313 |
msgstr "" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
#, no-wrap |
| 319 |
msgid "" |
| 320 |
"import os\n" |
| 321 |
"import pathlib\n" |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "" |
| 329 |
"def rearrange_bin_sbin(path):\n" |
| 330 |
" \"\"\"Make sure any pair of \\&.../bin, \\&.../sbin directories is in this order\n" |
| 331 |
msgstr "" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1 |
| 335 |
#: opensuse-tumbleweed |
| 336 |
#, no-wrap |
| 337 |
msgid "" |
| 338 |
" E<gt>E<gt>E<gt> rearrange_bin_sbin(\\*(Aq/bin:/sbin:/usr/sbin:/usr/bin\\*(Aq)\n" |
| 339 |
" \\*(Aq/bin:/sbin:/usr/bin:/usr/sbin\\*(Aq\n" |
| 340 |
" \"\"\"\n" |
| 341 |
" items = [pathlib\\&.Path(p) for p in path\\&.split(\\*(Aq:\\*(Aq)]\n" |
| 342 |
" for i in range(len(items)):\n" |
| 343 |
" if \\*(Aqsbin\\*(Aq in items[i]\\&.parts:\n" |
| 344 |
" ind = items[i]\\&.parts\\&.index(\\*(Aqsbin\\*(Aq)\n" |
| 345 |
" bin = pathlib\\&.Path(*items[i]\\&.parts[:ind], \\*(Aqbin\\*(Aq, *items[i]\\&.parts[ind+1:])\n" |
| 346 |
" if bin in items[i+1:]:\n" |
| 347 |
" j = i + 1 + items[i+1:]\\&.index(bin)\n" |
| 348 |
" items[i], items[j] = items[j], items[i]\n" |
| 349 |
" return \\*(Aq:\\*(Aq\\&.join(p\\&.as_posix() for p in items)\n" |
| 350 |
msgstr "" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie fedora-44 mageia-cauldron opensuse-leap-16-1 |
| 354 |
#: opensuse-tumbleweed |
| 355 |
#, no-wrap |
| 356 |
msgid "" |
| 357 |
"if __name__ == \\*(Aq__main__\\*(Aq:\n" |
| 358 |
" path = os\\&.environ[\\*(AqPATH\\*(Aq] # This should be always set\\&.\n" |
| 359 |
" # If it is not, we will just crash, which is OK too\\&.\n" |
| 360 |
" new = rearrange_bin_sbin(path)\n" |
| 361 |
" if new != path:\n" |
| 362 |
" print(\\*(AqPATH={}\\*(Aq\\&.format(new))\n" |
| 363 |
msgstr "" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "B<Example\\ \\&3.\\ \\&Debugging a generator>" |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "" |
| 376 |
"SYSTEMD_LOG_LEVEL=debug VAR_A=something VAR_B=\"something else\" \\e\n" |
| 377 |
"/usr/lib/systemd/system-environment-generators/path-to-generator\n" |
| 378 |
msgstr "" |
| 379 |
|
| 380 |
#. type: SH |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
#, no-wrap |
| 384 |
msgid "SEE ALSO" |
| 385 |
msgstr "" |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "" |
| 391 |
"B<systemd-environment-d-generator>(8), B<systemd.generator>(7), " |
| 392 |
"B<systemd>(1), B<systemctl>(1)" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: SH |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "NOTES" |
| 400 |
msgstr "" |
| 401 |
|
| 402 |
#. type: IP |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
#, no-wrap |
| 406 |
msgid " 1." |
| 407 |
msgstr "" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "" |
| 413 |
"💣💥🧨💥💥💣 Please note that those configuration files must be available at " |
| 414 |
"all times. If /usr/local/ is a separate partition, it may not be available " |
| 415 |
"during early boot, and must not be used for configuration." |
| 416 |
msgstr "" |
| 417 |
|
| 418 |
#. type: TH |
| 419 |
#: debian-trixie opensuse-leap-16-1 |
| 420 |
#, no-wrap |
| 421 |
msgid "systemd 257.13" |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: debian-trixie opensuse-leap-16-1 |
| 426 |
#, no-wrap |
| 427 |
msgid "" |
| 428 |
"#!/usr/bin/env python3\n" |
| 429 |
"# SPDX-License-Identifier: MIT-0\n" |
| 430 |
msgstr "" |
| 431 |
|
| 432 |
#. type: TH |
| 433 |
#: debian-unstable |
| 434 |
#, no-wrap |
| 435 |
msgid "systemd 261~rc3" |
| 436 |
msgstr "" |
| 437 |
|
| 438 |
#. type: Plain text |
| 439 |
#: debian-unstable fedora-rawhide |
| 440 |
#, no-wrap |
| 441 |
msgid "" |
| 442 |
" E<gt>E<gt>E<gt> rearrange_bin_sbin(\\*(Aq/bin:/sbin:/usr/sbin:/usr/bin\\*(Aq)\n" |
| 443 |
" \\*(Aq/bin:/sbin:/usr/bin:/usr/sbin\\*(Aq\n" |
| 444 |
" \"\"\"\n" |
| 445 |
" items = [pathlib\\&.Path(p) for p in path\\&.split(\\*(Aq:\\*(Aq)]\n" |
| 446 |
" for i in range(len(items)):\n" |
| 447 |
" if \\*(Aqsbin\\*(Aq in items[i]\\&.parts:\n" |
| 448 |
" ind = items[i]\\&.parts\\&.index(\\*(Aqsbin\\*(Aq)\n" |
| 449 |
" bin = pathlib\\&.Path(*items[i]\\&.parts[:ind], \\*(Aqbin\\*(Aq, *items[i]\\&.parts[ind + 1 :])\n" |
| 450 |
" if bin in items[i + 1 :]:\n" |
| 451 |
" j = i + 1 + items[i + 1 :]\\&.index(bin)\n" |
| 452 |
" items[i], items[j] = items[j], items[i]\n" |
| 453 |
" return \\*(Aq:\\*(Aq\\&.join(p\\&.as_posix() for p in items)\n" |
| 454 |
msgstr "" |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: debian-unstable fedora-rawhide |
| 458 |
#, no-wrap |
| 459 |
msgid "" |
| 460 |
"if __name__ == \\*(Aq__main__\\*(Aq:\n" |
| 461 |
" # This should be always set\\&. If it is not, we will just crash, which is OK too\\&.\n" |
| 462 |
" path = os\\&.environ[\\*(AqPATH\\*(Aq]\n" |
| 463 |
" new = rearrange_bin_sbin(path)\n" |
| 464 |
" if new != path:\n" |
| 465 |
" print(f\\*(AqPATH={new}\\*(Aq)\n" |
| 466 |
msgstr "" |
| 467 |
|
| 468 |
#. type: TH |
| 469 |
#: fedora-44 |
| 470 |
#, no-wrap |
| 471 |
msgid "systemd 259.5" |
| 472 |
msgstr "" |
| 473 |
|
| 474 |
#. type: TH |
| 475 |
#: fedora-rawhide |
| 476 |
#, no-wrap |
| 477 |
msgid "systemd 261~rc2" |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
#. type: TH |
| 481 |
#: mageia-cauldron |
| 482 |
#, no-wrap |
| 483 |
msgid "systemd 258.7" |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: TH |
| 487 |
#: opensuse-tumbleweed |
| 488 |
#, no-wrap |
| 489 |
msgid "systemd 260.1" |
| 490 |
msgstr "" |