Browse Source

Paramteres for comment and generic name

master
7u83 2 years ago
parent
commit
b64170d20b
  1. 3
      manifests/init.pp
  2. 4
      templates/program.desktop.erb

3
manifests/init.pp

@ -26,6 +26,9 @@ define wmdeit_install::program(
$exec = "$extract_path/$extract_dir/$program",
$exec_path = "$extract_path/$extract_dir",
$generic_name = "$program",
$comment = "$program",
){
file {$extract_path:

4
templates/program.desktop.erb

@ -2,8 +2,8 @@
Type=Application
Version=1.0
Name=<%= @program %>
GenericName=Upload-Werkzeug
Comment=Uploader für Wikimedia Commons
GenericName=<%= @generic_name %>
Comment=<%= @comment %>
Path=<%= @exec_path %>
Exec=<%= @exec %>
Icon=<%= @extract_path %>/<%= @svg %>

Loading…
Cancel
Save