diff options
-rw-r--r-- | BCD/Genisoimage.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/BCD/Genisoimage.pm b/BCD/Genisoimage.pm index 2369d8d..07740a2 100644 --- a/BCD/Genisoimage.pm +++ b/BCD/Genisoimage.pm @@ -101,6 +101,10 @@ $builddir/../ system($cmd); system("du -h $isodir/$isoname.iso"); system("du -sh $builddir/install"); + my $size_iso = -s "$isodir/$isoname.iso"; + if ($size_iso > 3900338176) { + print_color("Attention la taille de l'iso est trop importante", $error_color); + } } |