Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion howdy/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ install_data(
)

fs = import('fs')
if not fs.exists(config_path)
if get_option('install_config') and not fs.exists(config_path)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding option to not add config

install_data('config.ini', install_dir: confdir, install_mode: 'rwxr--r--', install_tag: 'config')
endif

Expand Down
1 change: 1 addition & 0 deletions meson.options
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ option('log_path', type: 'string', value: '/var/log/howdy', description: 'Set th
option('install_in_site_packages', type: 'boolean', value: false, description: 'Install howdy python files in site packages')
option('py_sources_dir', type: 'string', value: '', description: 'Set the python sources directory')
option('install_pam_config', type: 'boolean', value: false, description: 'Install pam config file (for Debian/Ubuntu)')
option('install_config', type: 'boolean', value: true, description: 'Install Howdy config file')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding option to install config file

option('python_path', type: 'string', value: '/usr/bin/python', description: 'Set the path to the python executable')
option('with_polkit', type: 'boolean', value: false, description: 'Install polkit policy config file')