Skip to content

Commit 1f3b83e

Browse files
committed
Add option to install config or not
1 parent d3ab993 commit 1f3b83e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

howdy/src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ install_data(
102102
)
103103

104104
fs = import('fs')
105-
if not fs.exists(config_path)
105+
if get_option('install_config') and not fs.exists(config_path)
106106
install_data('config.ini', install_dir: confdir, install_mode: 'rwxr--r--', install_tag: 'config')
107107
endif
108108

meson.options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ option('log_path', type: 'string', value: '/var/log/howdy', description: 'Set th
77
option('install_in_site_packages', type: 'boolean', value: false, description: 'Install howdy python files in site packages')
88
option('py_sources_dir', type: 'string', value: '', description: 'Set the python sources directory')
99
option('install_pam_config', type: 'boolean', value: false, description: 'Install pam config file (for Debian/Ubuntu)')
10+
option('install_config', type: 'boolean', value: true, description: 'Install Howdy config file')
1011
option('python_path', type: 'string', value: '/usr/bin/python', description: 'Set the path to the python executable')
1112
option('with_polkit', type: 'boolean', value: false, description: 'Install polkit policy config file')

0 commit comments

Comments
 (0)