Paramteres for comment and generic name
This commit is contained in:
parent
b552e6ec02
commit
b64170d20b
|
@ -26,6 +26,9 @@ define wmdeit_install::program(
|
||||||
$exec = "$extract_path/$extract_dir/$program",
|
$exec = "$extract_path/$extract_dir/$program",
|
||||||
$exec_path = "$extract_path/$extract_dir",
|
$exec_path = "$extract_path/$extract_dir",
|
||||||
|
|
||||||
|
$generic_name = "$program",
|
||||||
|
$comment = "$program",
|
||||||
|
|
||||||
){
|
){
|
||||||
|
|
||||||
file {$extract_path:
|
file {$extract_path:
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Type=Application
|
Type=Application
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Name=<%= @program %>
|
Name=<%= @program %>
|
||||||
GenericName=Upload-Werkzeug
|
GenericName=<%= @generic_name %>
|
||||||
Comment=Uploader für Wikimedia Commons
|
Comment=<%= @comment %>
|
||||||
Path=<%= @exec_path %>
|
Path=<%= @exec_path %>
|
||||||
Exec=<%= @exec %>
|
Exec=<%= @exec %>
|
||||||
Icon=<%= @extract_path %>/<%= @svg %>
|
Icon=<%= @extract_path %>/<%= @svg %>
|
||||||
|
|
Loading…
Reference in New Issue