Don't fail build if logging contents fails

This commit is contained in:
Thomas Orozco 2015-05-05 22:02:08 +02:00
parent 73aabc2a40
commit f9dd36c1c0
1 changed files with 9 additions and 4 deletions

View File

@ -36,7 +36,12 @@ mkdir -p "${DIST_DIR}"
cp "${BUILD_DIR}"/tini{,*.rpm,*deb} "${DIST_DIR}" cp "${BUILD_DIR}"/tini{,*.rpm,*deb} "${DIST_DIR}"
# Quick audit # Quick audit
echo "Contents for RPM:" if which rpm; then
rpm -qlp "${DIST_DIR}/tini"*.rpm echo "Contents for RPM:"
echo "Contents for DEB:" rpm -qlp "${DIST_DIR}/tini"*.rpm
dpkg --contents "${DIST_DIR}/tini"*deb fi
if which dpkg; then
echo "Contents for DEB:"
dpkg --contents "${DIST_DIR}/tini"*deb
fi