From: Ray Strode Date: Mon, 17 Nov 2008 20:31:59 +0000 (-0500) Subject: Don't error if default.so doesn't exist X-Git-Tag: 0.6.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0273ca055a4f8d3e2ed99b95834ba7133522af2;p=thirdparty%2Fplymouth.git Don't error if default.so doesn't exist There are cases where we don't set a default and instead fallback at runtime to text.so. Don't make that an error condition. --- diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in index d2f1e6d1..8e4a29fa 100755 --- a/scripts/plymouth-populate-initrd.in +++ b/scripts/plymouth-populate-initrd.in @@ -81,7 +81,11 @@ if [ ! -f ${LIBDIR}/plymouth/${PLYMOUTH_PLUGIN_NAME}.so ]; then fi inst ${LIBDIR}/plymouth/${PLYMOUTH_PLUGIN_NAME}.so $INITRDDIR -inst ${LIBDIR}/plymouth/default.so $INITRDDIR + +if [ -f ${LIBDIR}/plymouth/default.so ]; then + inst ${LIBDIR}/plymouth/default.so $INITRDDIR +fi + if [ -d ${DATADIR}/plymouth/${PLYMOUTH_PLUGIN_NAME} ]; then for x in ${DATADIR}/plymouth/${PLYMOUTH_PLUGIN_NAME}/* ; do [ ! -f "$x" ] && break