Re: How to use variables in a _service file

Originally Posted by
jmandawg
Hi all,
I search through the docs but could not find any info on this.
Is it possible to use variables (possible from some sourced file) in the _service file?
for example:
Code:
<services>¬
<service name="download_url">¬
<param name="host">commondatastorage.googleapis.com</param>¬
<param name="protocol">https</param>¬
<param name="path">/chromium-browser-official/chromium-${MY_CURRENT_VER}.tar.xz</param>
</service>¬
</services>
Where MY_CURRENT_VER is a variable stored in another file?
Hi
You can define your variables in the project config file.
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!
Bookmarks