summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/eee-acpi-scripts/files/remove-doc-check.patch
blob: 3e80b7fddf3d5d8daef3e7588729d2ed940ee4d2 (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
---
 actions/hotkey.sh     |    3 ---
 actions/suspend.sh    |    3 ---
 actions/vga-toggle.sh |    3 ---
 actions/volume.sh     |    3 ---
 4 files changed, 12 deletions(-)

Index: git/eeepc-acpi-scripts/hotkey.sh
===================================================================
--- git.orig/eeepc-acpi-scripts/hotkey.sh	2010-11-28 16:02:17.000000000 +0800
+++ git/eeepc-acpi-scripts/hotkey.sh	2010-11-28 16:02:44.000000000 +0800
@@ -1,12 +1,10 @@
 #!/bin/sh
 
 test -d /sys/bus/platform/devices/eeepc || exit 0
-# do nothing if package is removed
 PKG=eeepc-acpi-scripts
 PKG_DIR=/usr/share/acpi-support/$PKG
 FUNC_LIB=$PKG_DIR/lib/functions.sh
 DEFAULT=/etc/default/$PKG
-[ -e "$FUNC_LIB" ] || exit 0
 
 case $(runlevel) in
     *0|*6)
Index: git/eeepc-acpi-scripts/vga-toggle.sh
===================================================================
--- git.orig/eeepc-acpi-scripts/vga-toggle.sh	2010-11-28 16:03:57.000000000 +0800
+++ git/eeepc-acpi-scripts/vga-toggle.sh	2010-11-28 16:04:03.000000000 +0800
@@ -1,12 +1,10 @@
 #!/bin/sh
 
 test -d /sys/bus/platform/devices/eeepc || exit 0
-# do nothing if package is removed
 PKG=eeepc-acpi-scripts
 PKG_DIR=/usr/share/acpi-support/$PKG
 FUNC_LIB=$PKG_DIR/lib/functions.sh
 DEFAULT=/etc/default/$PKG
-[ -e "$FUNC_LIB" ] || exit 0
 
 if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
 . $FUNC_LIB
Index: git/eeepc-acpi-scripts/volume.sh
===================================================================
--- git.orig/eeepc-acpi-scripts/volume.sh	2010-11-28 16:04:34.000000000 +0800
+++ git/eeepc-acpi-scripts/volume.sh	2010-11-28 16:04:40.000000000 +0800
@@ -3,12 +3,10 @@
 test -d /sys/bus/platform/devices/eeepc || exit 0
 # Volume controls
 
-# do nothing if package is removed
 PKG=eeepc-acpi-scripts
 PKG_DIR=/usr/share/acpi-support/$PKG
 FUNC_LIB=$PKG_DIR/lib/functions.sh
 DEFAULT=/etc/default/$PKG
-[ -e "$FUNC_LIB" ] || exit 0
 
 . $FUNC_LIB
 . $PKG_DIR/lib/sound.sh