]> git.pld-linux.org Git - packages/fwupd.git/blame - fwupd-bashcomp.patch
- up to 1.3.7
[packages/fwupd.git] / fwupd-bashcomp.patch
CommitLineData
425d8043
JB
1--- fwupd-1.2.10/meson_options.txt.orig 2019-09-13 06:06:30.006025055 +0200
2+++ fwupd-1.2.10/meson_options.txt 2019-09-13 15:48:25.670204020 +0200
3@@ -30,3 +30,4 @@
445379a6
JB
4 option('efi-ldsdir', type : 'string', description : 'path to the EFI lds directory')
5 option('efi-includedir', type : 'string', value : '/usr/include/efi', description : 'path to the EFI header directory')
425d8043 6 option('efi_os_dir', type: 'string', description : 'the name of OS directory in ESP')
445379a6
JB
7+option('bash_completiondir', type : 'string', value : '')
8--- fwupd-1.1.3/data/bash-completion/meson.build.orig 2018-10-17 17:20:45.844927437 +0200
9+++ fwupd-1.1.3/data/bash-completion/meson.build 2018-10-17 17:20:49.401594061 +0200
10@@ -1,8 +1,12 @@
11-if bashcomp.found()
12+tgt = get_option('bash_completiondir')
13+
14+if tgt == '' and bashcomp.found()
15 tgt = bashcomp.get_pkgconfig_variable('completionsdir',
16 define_variable: [ 'prefix', prefix ],
17 )
18+endif
19
20+if tgt != ''
21
22 if get_option('daemon')
23 install_data(['fwupdmgr'],
This page took 0.106337 seconds and 4 git commands to generate.