summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-20 09:21:50 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-20 13:40:20 -0400
commit4845823d7421faac8f009186c32b75d848142783 (patch)
treef4c36952c6d33e85485501a2a42752492ed8702c /data
parent4d96d55c1511bd0052e57af611fd5ed9356ad44b (diff)
make some find_program() calls non-required in meson build
reported by wltjr
Diffstat (limited to 'data')
-rw-r--r--data/etc/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/etc/meson.build b/data/etc/meson.build
index 14baf7253..b76f5d5e7 100644
--- a/data/etc/meson.build
+++ b/data/etc/meson.build
@@ -28,7 +28,7 @@ else
28 SUSPEND = '/etc/acpi/sleep.sh force' 28 SUSPEND = '/etc/acpi/sleep.sh force'
29 endif 29 endif
30 else 30 else
31 suspend = find_program('pm-suspend', '/etc/acpi/pm-suspend', '/sbin/pm-suspend', '/usr/sbin/pm-suspend') 31 suspend = find_program('pm-suspend', '/etc/acpi/pm-suspend', '/sbin/pm-suspend', '/usr/sbin/pm-suspend', required: false)
32 if suspend.found() 32 if suspend.found()
33 SUSPEND = suspend.path() 33 SUSPEND = suspend.path()
34 endif 34 endif
@@ -41,7 +41,7 @@ else
41 SUSPEND = '/etc/acpi/hibernate.sh force' 41 SUSPEND = '/etc/acpi/hibernate.sh force'
42 endif 42 endif
43 else 43 else
44 hibernate = find_program('pm-hibernate', '/etc/acpi/pm-hibernate', '/sbin/pm-hibernate', '/usr/sbin/pm-hibernate') 44 hibernate = find_program('pm-hibernate', '/etc/acpi/pm-hibernate', '/sbin/pm-hibernate', '/usr/sbin/pm-hibernate', required: false)
45 if hibernate.found() 45 if hibernate.found()
46 HIBERNATE = hibernate.path() 46 HIBERNATE = hibernate.path()
47 endif 47 endif