]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
create plugin directory before trying to install to it in populate script
authorRay Strode <rstrode@redhat.com>
Wed, 11 Jun 2008 19:25:26 +0000 (15:25 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 11 Jun 2008 21:19:55 +0000 (17:19 -0400)
scripts/plymouth-populate-initrd

index 39c5713a1ac3813b1d60e09627f50e86e4bc2d3d..2b64b3daebabe17dd8a3a31c31f53fa96f8374f2 100755 (executable)
@@ -115,4 +115,6 @@ if [ ! -f ${LIBDIR}/plymouth/${PLUGIN_NAME}.so ]; then
 fi
 
 install -m755 ${LIBDIR}/plymouth/${PLUGIN_NAME}.so ${INITRDDIR}${LIBDIR}/plymouth
+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}