907 |
fi |
fi |
908 |
|
|
909 |
# set this as the default if we have the package and it matches |
# set this as the default if we have the package and it matches |
910 |
if [[ ${mode} = --install ]] && [[ ${UPDATEDEFAULT} = yes ]] && [[ -n ${package} ]] && |
if [[ ${mode} = --install ]] && [[ ${UPDATEDEFAULT} = yes ]] && [[ -n ${package} ]] && [[ -n ${DEFAULTKERNEL} ]] |
|
[[ -n ${DEFAULTKERNEL} ]] && [[ ${package} = ${DEFAULTKERNEL} ]] |
|
911 |
then |
then |
912 |
makedefault="--make-default" |
if [[ ${package} = ${DEFAULTKERNEL} ]] || [[ ${package}-core = ${DEFAULTKERNEL} ]] |
913 |
[[ -n ${verbose} ]] && echo "making it the default based on config" |
then |
914 |
|
makedefault="--make-default" |
915 |
|
[[ -n ${verbose} ]] && echo "making it the default based on config" |
916 |
|
fi |
917 |
fi |
fi |
918 |
|
|
919 |
if [[ ${moddep} = make ]] |
if [[ ${moddep} = make ]] |