summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWilliam L. Thomson Jr <wlt@o-sinc.com>2017-10-13 16:21:11 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-20 13:40:20 -0400
commit4d96d55c1511bd0052e57af611fd5ed9356ad44b (patch)
treef401dab09c4c02dea6a957aa5f47062f95b0208c /data
parent02ea045ca7c740e5b691f2f18d5ec696ada365ed (diff)
meson: Make sleep.sh and hibernate.sh not required, fixes T6210
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 b5a43a5cf..14baf7253 100644
--- a/data/etc/meson.build
+++ b/data/etc/meson.build
@@ -21,7 +21,7 @@ else
21 SUSPEND = '/usr/bin/systemctl suspend' 21 SUSPEND = '/usr/bin/systemctl suspend'
22 HIBERNATE = '/usr/bin/systemctl hibernate' 22 HIBERNATE = '/usr/bin/systemctl hibernate'
23 else 23 else
24 sleep = find_program('sleep.sh', '/etc/acpi/sleep.sh', '/sbin/sleep.sh', '/usr/sbin/sleep.sh') 24 sleep = find_program('sleep.sh', '/etc/acpi/sleep.sh', '/sbin/sleep.sh', '/usr/sbin/sleep.sh', required : false)
25 if sleep.found() == true 25 if sleep.found() == true
26 SUSPEND = sleep.path() 26 SUSPEND = sleep.path()
27 if sleep.path() == '/etc/acpi/sleep.sh' 27 if sleep.path() == '/etc/acpi/sleep.sh'
@@ -34,7 +34,7 @@ else
34 endif 34 endif
35 endif 35 endif
36 36
37 hibernate_sh = find_program('hibernate.sh', '/etc/acpi/hibernate.sh', '/sbin/hibernate.sh', '/usr/sbin/hibernate.sh') 37 hibernate_sh = find_program('hibernate.sh', '/etc/acpi/hibernate.sh', '/sbin/hibernate.sh', '/usr/sbin/hibernate.sh', required : false)
38 if hibernate_sh.found() == true 38 if hibernate_sh.found() == true
39 HIBERNATE = hibernate_sh.path() 39 HIBERNATE = hibernate_sh.path()
40 if hibernate_sh.path() == '/etc/acpi/hibernate.sh' 40 if hibernate_sh.path() == '/etc/acpi/hibernate.sh'