Lines 8-18
Link Here
|
8 |
# Make sure XINS_HOME is set |
8 |
# Make sure XINS_HOME is set |
9 |
if [ "${XINS_HOME}" = "" ] |
9 |
if [ "${XINS_HOME}" = "" ] |
10 |
then |
10 |
then |
11 |
# Determine script directory |
11 |
# Fallback to Gentoo-specific installment directory |
12 |
__DIRNAME__=`dirname $0` |
12 |
XINS_HOME=`dirname $0`/../share/%%PN-SLOT%%/installment |
13 |
|
|
|
14 |
# Assume parent of script directory is XINS home |
15 |
XINS_HOME=`dirname ${__DIRNAME__}` |
16 |
if [ "${XINS_VERBOSE}" = "true" ]; then |
13 |
if [ "${XINS_VERBOSE}" = "true" ]; then |
17 |
echo "XINS_HOME not set, assuming: ${XINS_HOME}" |
14 |
echo "XINS_HOME not set, assuming: ${XINS_HOME}" |
18 |
fi |
15 |
fi |