This commit is contained in:
Roy Marples 2008-11-13 09:35:00 +00:00
parent 0cca768b82
commit 1deaa0fae0

View File

@ -20,9 +20,9 @@ import_addon()
if [ -e "${RC_LIBDIR}/addons/$1.sh" ]; then if [ -e "${RC_LIBDIR}/addons/$1.sh" ]; then
_addon_warn _addon_warn
. "${RC_LIBDIR}/addons/$1.sh" . "${RC_LIBDIR}/addons/$1.sh"
elif [ -e /lib64/rcscripts/addons/"$1".sh ]; then elif [ -e /@LIB@/rcscripts/addons/"$1".sh ]; then
_addon_warn _addon_warn
. /lib64/rcscripts/addons/"$1".sh . /@LIB@/rcscripts/addons/"$1".sh
else else
return 1 return 1
fi fi