summaryrefslogtreecommitdiff
path: root/sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch
blob: eb4ed1683f8e2afdc3f51899d7d03883673971f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Nurp openrc-0.5.3.orig/sh/rc-functions.sh.in openrc-0.5.3/sh/rc-functions.sh.in
--- openrc-0.5.3.orig/sh/rc-functions.sh.in	2009-12-02 20:08:02.000000000 +0100
+++ openrc-0.5.3/sh/rc-functions.sh.in	2009-12-26 05:42:17.000000000 +0100
@@ -18,10 +18,10 @@ _addon_warn()
 import_addon()
 {
 	if [ -e /@LIB@/rc/addons/"$1".sh ]; then
-		_addon_warn
+		# _addon_warn
 		. /@LIB@/rc/addons/"$1".sh
 	elif [ -e /@LIB@/rcscripts/addons/"$1".sh ]; then
-		_addon_warn
+		# _addon_warn
 		. /@LIB@/rcscripts/addons/"$1".sh
 	else
 		return 1