1 |
zzam 09/01/20 11:20:22 |
2 |
|
3 |
Modified: shell-compat-118-r3.sh |
4 |
Log: |
5 |
Change comments. |
6 |
(Portage version: 2.1.6.6/cvs/Linux 2.6.27-gentoo-r1 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 sys-fs/udev/files/shell-compat-118-r3.sh |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/shell-compat-118-r3.sh?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/shell-compat-118-r3.sh?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/udev/files/shell-compat-118-r3.sh?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: shell-compat-118-r3.sh |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/files/shell-compat-118-r3.sh,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- shell-compat-118-r3.sh 19 Jan 2009 17:24:30 -0000 1.2 |
22 |
+++ shell-compat-118-r3.sh 20 Jan 2009 11:20:22 -0000 1.3 |
23 |
@@ -6,6 +6,7 @@ |
24 |
type "$1" >/dev/null 2>&1 |
25 |
} |
26 |
|
27 |
+# does not exist in baselayout-1, does exist in openrc |
28 |
if ! cmd_exist yesno; then |
29 |
yesno() { |
30 |
[ -z "$1" ] && return 1 |
31 |
@@ -16,6 +17,8 @@ |
32 |
} |
33 |
fi |
34 |
|
35 |
+# does exist in baselayout-1 |
36 |
+# does not exist in openrc, but is added by openrc-ebuild since some time |
37 |
if ! cmd_exist KV_to_int; then |
38 |
KV_to_int() { |
39 |
[ -z $1 ] && return 1 |
40 |
@@ -36,6 +39,7 @@ |
41 |
} |
42 |
fi |
43 |
|
44 |
+# same as KV_to_int |
45 |
if ! cmd_exist get_KV; then |
46 |
_RC_GET_KV_CACHE="" |
47 |
get_KV() { |
48 |
@@ -48,7 +52,7 @@ |
49 |
} |
50 |
fi |
51 |
|
52 |
-# only for baselayout-1, does exist in all openrc versions |
53 |
+# does not exist in baselayout-1, does exist in openrc |
54 |
if ! cmd_exist fstabinfo; then |
55 |
fstabinfo() { |
56 |
[ "$1" = "--quiet" ] && shift |
57 |
@@ -68,3 +72,4 @@ |
58 |
} |
59 |
fi |
60 |
|
61 |
+ |