summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
blob: 8f6c4fcaadf6b1d03559fd3e27e2c27791d9f26b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
 actions/hotkey.sh     |    3 ---
 actions/suspend.sh    |    3 ---
 actions/vga-toggle.sh |    3 ---
 actions/volume.sh     |    3 ---
 4 files changed, 12 deletions(-)

Index: git/actions/hotkey.sh
===================================================================
--- git.orig/actions/hotkey.sh	2008-09-25 11:00:58.000000000 +0200
+++ git/actions/hotkey.sh	2008-09-25 11:01:04.000000000 +0200
@@ -1,8 +1,5 @@
 #!/bin/sh
 
-# do nothing if package is removed
-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
-
 . /etc/default/eeepc-acpi-scripts
 . /usr/share/eeepc-acpi-scripts/functions.sh
 . /etc/acpi/lib/notify.sh
Index: git/actions/suspend.sh
===================================================================
--- git.orig/actions/suspend.sh	2008-09-25 11:00:32.000000000 +0200
+++ git/actions/suspend.sh	2008-09-25 11:00:37.000000000 +0200
@@ -1,8 +1,5 @@
 #!/bin/sh
 
-# do nothing if package is removed
-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
-
 if (runlevel | grep -q [06]) || (pidof '/sbin/shutdown' > /dev/null); then
     exit 0
 fi
Index: git/actions/vga-toggle.sh
===================================================================
--- git.orig/actions/vga-toggle.sh	2008-09-25 11:02:00.000000000 +0200
+++ git/actions/vga-toggle.sh	2008-09-25 11:02:06.000000000 +0200
@@ -1,8 +1,5 @@
 #!/bin/sh
 
-# do nothing if package is removed
-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
-
 . /etc/default/eeepc-acpi-scripts
 
 # return: 0 on disconnect, 1 on connected vga, 2 else
Index: git/actions/volume.sh
===================================================================
--- git.orig/actions/volume.sh	2008-09-25 11:02:13.000000000 +0200
+++ git/actions/volume.sh	2008-09-25 11:02:19.000000000 +0200
@@ -2,9 +2,6 @@
 
 # Volume controls
 
-# do nothing if package is removed
-[ -d /usr/share/doc/eeepc-acpi-scripts ] || exit 0
-
 . /etc/default/eeepc-acpi-scripts
 . /usr/share/eeepc-acpi-scripts/functions.sh
 . /etc/acpi/lib/notify.sh