Merge pull request #97 from philips/die-bootengine

fix(bootengine): die if we have problems with the cpio
This commit is contained in:
Brandon Philips 2013-07-18 14:01:29 -07:00
commit 0ad75e585a
2 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ pkg_postinst() {
# as we are not in src_install() insinto and doins do not work here, so
# manually copy the file around
cpio=${ROOT}/tmp/bootengine.cpio
chmod 644 ${cpio}
chmod 644 ${cpio} || die
mkdir ${ROOT}/usr/share/bootengine/
cp ${cpio} ${ROOT}/usr/share/bootengine/
cp ${cpio} ${ROOT}/usr/share/bootengine/ || die
rm ${cpio}
}