Skip to content

Commit

Permalink
[2.4] meson: Fix error in config/meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsga committed Apr 29, 2024
1 parent 7c768ae commit ea4a87a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ endforeach
foreach file : gen_templates
if (
not fs.exists(pkgconfdir / file)
or (get_option('enable-overwrite') and fs.exists(pkgconfdir / file))
or (get_option('enable-overwrite')
and fs.exists(pkgconfdir / file))
)
install_data(gen_files, install_dir: pkgconfdir)
else
Expand All @@ -38,10 +39,10 @@ endif

foreach file : conf_files
if (
not fs.exists(file)
not fs.exists(pkgconfdir / file)
or (get_option('enable-overwrite') and fs.exists(file))
)
install_data(conf_files, install_dir: pkgconfdir)
install_data(file, install_dir: pkgconfdir)
else
message('not overwriting', file)
endif
Expand Down

0 comments on commit ea4a87a

Please sign in to comment.