Lines 29-38
PKGS_MANUAL=""
Link Here
|
29 |
|
29 |
|
30 |
PKG_DBDIR=/var/db/pkg |
30 |
PKG_DBDIR=/var/db/pkg |
31 |
|
31 |
|
32 |
. /etc/init.d/functions.sh || { |
32 |
# Remove /etc/init.d/functions.sh once everything is migrated |
33 |
echo "$0: Could not source /etc/init.d/functions.sh!" |
33 |
if [ -e /lib/gentoo/functions.sh ]; then |
34 |
exit 1 |
34 |
. /lib/gentoo/functions.sh |
35 |
} |
35 |
elif [ -e /etc/init.d/functions.sh ]; then |
|
|
36 |
. /etc/init.d/functions.sh |
37 |
else |
38 |
echo "$0: Unable to find functions.sh" |
39 |
exit 1 |
40 |
fi |
36 |
|
41 |
|
37 |
# First and foremost - make sure we have a perl to work with... |
42 |
# First and foremost - make sure we have a perl to work with... |
38 |
if ! type -P perl >/dev/null 2>&1 ; then |
43 |
if ! type -P perl >/dev/null 2>&1 ; then |