summaryrefslogtreecommitdiff
path: root/app-admin/webapp-config/files/webapp-config-1.53-sources-function.sh-from-lib-gentoo.patch
blob: 06a924a426be4b45a47766cb9952f310b0efb477 (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
From ff7ba0d89c79584f14a8137d886a656a9af6de5c Mon Sep 17 00:00:00 2001
From: Devan Franchini <twitch153@gentoo.org>
Date: Sat, 27 Dec 2014 20:43:08 -0500
Subject: [PATCH] webapp-cleaner: sources function.sh from /lib/gentoo

---
 sbin/webapp-cleaner | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/webapp-cleaner b/sbin/webapp-cleaner
index bfec623..52e44ac 100755
--- a/sbin/webapp-cleaner
+++ b/sbin/webapp-cleaner
@@ -13,7 +13,7 @@ CMD="emerge -Cav"
 WEBAPP_DIR="/usr/share/webapps"
 WEBAPP_CONFIG=
 
-[[ -z ${RC_GOT_FUNCTIONS} ]] && source /etc/init.d/functions.sh
+[[ -z ${RC_GOT_FUNCTIONS} ]] && source /lib/gentoo/functions.sh
 
 function help() {
 	echo "Remove obsolete and unused versions of web applications"
-- 
2.0.5