mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
* Check whether any packages were generated. Apparently checkinstall
doesn't return a non-zero exit code if something goes wrong. svn path=/nixpkgs/trunk/; revision=31258
This commit is contained in:
parent
30752215cd
commit
032617b0ab
|
@ -68,6 +68,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
|||
ensureDir $out/debs
|
||||
find . -name "*.deb" -exec cp {} $out/debs \;
|
||||
|
||||
[ "$(echo $out/debs/*.deb)" != "" ]
|
||||
|
||||
for i in $out/debs/*.deb; do
|
||||
header "Generated DEB package: $i"
|
||||
dpkg-deb --info "$i"
|
||||
|
|
Loading…
Reference in a new issue