]> git.sesse.net Git - plocate/commitdiff
Update the correct (generated) version of update-plocate.sh.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sun, 11 Oct 2020 22:57:39 +0000 (00:57 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sun, 11 Oct 2020 22:57:39 +0000 (00:57 +0200)
meson.build

index 6f3e0e0bb61d0b8304926e70fa71792155f84ba5..1577bdb540aaa287c33a1df44172ea88e6899b5a 100644 (file)
@@ -22,11 +22,11 @@ executable('plocate-build', 'plocate-build.cpp',
 
 conf_data = configuration_data()
 conf_data.set('sbindir', get_option('prefix') + '/' + get_option('sbindir'))
-configure_file(input: 'update-plocate.sh',
+update_script = configure_file(input: 'update-plocate.sh',
                output: 'update-plocate.sh',
                configuration: conf_data)
 
-install_data('update-plocate.sh',
+install_data(update_script,
        install_dir: '/etc/cron.daily',
        rename: 'plocate')
 install_man('plocate.1')