[gedit] [osx/bundle] Increase disk image by 10 percent



commit 64abc6477f45c19a81b3745bdf9db47af3491724
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Sep 6 00:22:04 2014 +0200

    [osx/bundle] Increase disk image by 10 percent

 osx/bundle/bundle |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/osx/bundle/bundle b/osx/bundle/bundle
index c51ab0d..379caf2 100755
--- a/osx/bundle/bundle
+++ b/osx/bundle/bundle
@@ -52,7 +52,7 @@ function cmd_dmg() {
 
        # Compute an approximated image size in MB, and bloat by 30 MB
        image_size=$(du -ck "$DMG_APP" | tail -n1 | cut -f1)
-       image_size=$((($image_size + 30000) / 1000))
+       image_size=$((($image_size * 11) / 10000))
 
        echo "Creating disk image (${image_size}MB)..."
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]