vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / by-name / ci / cinnamon-common / use-sane-install-dir.patch
blob8cb6949cb2d3a6e87410ad545e28b89218d9e478
1 From f7e802959d7a5c217ed574cab30404fc769f174d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com>
3 Date: Sat, 6 Feb 2021 14:26:26 +0100
4 Subject: [PATCH] use sane install dir
6 ---
7 meson.build | 10 ++++++++--
8 1 file changed, 8 insertions(+), 2 deletions(-)
10 diff --git a/meson.build b/meson.build
11 index bd803f20..3c1e9a4f 100644
12 --- a/meson.build
13 +++ b/meson.build
14 @@ -127,8 +127,14 @@ configure_file(
17 install_subdir(
18 - 'files',
19 - install_dir: '/',
20 + 'files/usr',
21 + install_dir: get_option('prefix'),
22 + strip_directory: true,
25 +install_subdir(
26 + 'files/etc',
27 + install_dir: join_paths(get_option('prefix'), 'etc'),
28 strip_directory: true,
31 --
32 2.30.0