mirror of https://github.com/krallin/tini.git
Don't fail build if logging contents fails
This commit is contained in:
parent
73aabc2a40
commit
f9dd36c1c0
|
@ -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
|
||||||
|
if which rpm; then
|
||||||
echo "Contents for RPM:"
|
echo "Contents for RPM:"
|
||||||
rpm -qlp "${DIST_DIR}/tini"*.rpm
|
rpm -qlp "${DIST_DIR}/tini"*.rpm
|
||||||
|
fi
|
||||||
|
|
||||||
|
if which dpkg; then
|
||||||
echo "Contents for DEB:"
|
echo "Contents for DEB:"
|
||||||
dpkg --contents "${DIST_DIR}/tini"*deb
|
dpkg --contents "${DIST_DIR}/tini"*deb
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue