[pulseaudio-tickets] [PulseAudio] #36: Add .ifexists, .else and .endif meta commands
PulseAudio
trac-noreply at tango.0pointer.de
Fri Oct 6 08:05:19 PDT 2006
#36: Add .ifexists, .else and .endif meta commands
-------------------------+--------------------------------------------------
Reporter: cjvdb | Owner: lennart
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: core | Severity: normal
Keywords: |
-------------------------+--------------------------------------------------
The Debian packages need a way to detect at runtime which modules are
installed and/or which other packages are on the system and based on that
load different modules. This patch adds .ifexists which can be used like
this:
{{{
.ifexists /path/to/any/file
load-module ...
set-default-sink ...
etc ...
.else
load-module ...
.endif
}}}
--
Ticket URL: <http://www.pulseaudio.org/ticket/36>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list