dracut-functions.sh: fixup for 34a1ec6 for non-local mode

master
Harald Hoyer 2014-10-29 13:39:28 +01:00
parent 34a1ec6a36
commit 2f0f1b0bbc
1 changed files with 3 additions and 1 deletions

View File

@ -741,7 +741,9 @@ if ! [[ $DRACUT_INSTALL ]]; then
DRACUT_INSTALL=$(find_binary dracut-install)
fi

if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then
if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then
DRACUT_INSTALL=$dracutbasedir/dracut-install
elif ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then
DRACUT_INSTALL=$dracutbasedir/install/dracut-install
fi