diff --git a/dracut-functions.sh b/dracut-functions.sh index 1bcc3b43..3ad8d81e 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -741,8 +741,8 @@ if ! [[ $DRACUT_INSTALL ]]; then DRACUT_INSTALL=$(find_binary dracut-install) fi -if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then - DRACUT_INSTALL=$dracutbasedir/dracut-install +if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/install/dracut-install fi if ! [[ -x $DRACUT_INSTALL ]]; then