From: Ray Strode Date: Thu, 23 Feb 2012 15:04:37 +0000 (-0500) Subject: plymouth-populate-initrd: Check for new path to dracut-functions X-Git-Tag: 0.8.4~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8de41ef074658f72489beb3cbfbb1f873edcf22;p=thirdparty%2Fplymouth.git plymouth-populate-initrd: Check for new path to dracut-functions --- diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in index 6a689073..5352c69b 100755 --- a/scripts/plymouth-populate-initrd.in +++ b/scripts/plymouth-populate-initrd.in @@ -18,7 +18,9 @@ if [ -z "$PLYMOUTH_POPULATE_SOURCE_FUNCTIONS" ]; then PLYMOUTH_POPULATE_SOURCE_FUNCTIONS="${PLYMOUTH_LIBEXECDIR}/initrd-functions" fi - if [ -f "${PLYMOUTH_DATADIR}/dracut/dracut-functions" ]; then + if [ -f "${PLYMOUTH_DATADIR}/dracut/dracut-functions.sh" ]; then + PLYMOUTH_POPULATE_SOURCE_FUNCTIONS="${PLYMOUTH_DATADIR}/dracut/dracut-functions.sh" + elif [ -f "${PLYMOUTH_DATADIR}/dracut/dracut-functions" ]; then PLYMOUTH_POPULATE_SOURCE_FUNCTIONS="${PLYMOUTH_DATADIR}/dracut/dracut-functions" fi fi