diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/plymouth-populate-initrd.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in index c52f39e..033ca06 100755 --- a/scripts/plymouth-populate-initrd.in +++ b/scripts/plymouth-populate-initrd.in @@ -117,6 +117,7 @@ fi install -m755 ${LIBDIR}/plymouth/${PLUGIN_NAME}.so ${INITRDDIR}${LIBDIR}/plymouth (cd ${INITRDDIR}${LIBDIR}/plymouth; ln -sf ${PLUGIN_NAME}.so default.so) -mkdir -p ${INITRDDIR}${DATADIR}/plymouth/${PLUGIN_NAME} -install -m644 ${DATADIR}/plymouth/${PLUGIN_NAME}/* ${INITRDDIR}${DATADIR}/plymouth/${PLUGIN_NAME} -install -D -m644 ${DATADIR}/plymouth/${PLUGIN_NAME}/* ${INITRDDIR}${DATADIR}/plymouth/${PLUGIN_NAME} +if [ -d ${DATADIR}/plymouth/${PLUGIN_NAME} ]; then + mkdir -p ${INITRDDIR}${DATADIR}/plymouth/${PLUGIN_NAME} + install -D -m644 ${DATADIR}/plymouth/${PLUGIN_NAME}/* ${INITRDDIR}${DATADIR}/plymouth/${PLUGIN_NAME} +fi |