]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Sprach-unabhängig sein
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 25 Aug 2011 12:04:30 +0000 (14:04 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 25 Aug 2011 12:04:30 +0000 (14:04 +0200)
DEBIAN/mk_erp_deb.sh

index 589c44f20c2ca62a78fd143b8ba1ad00ab870bee..ca6ccf888a31c9b9e179747d72035fe7976d0237 100755 (executable)
@@ -77,7 +77,7 @@ find var/ -name "*" -type f -exec md5sum {} \; >> DEBIAN/md5sum
 find etc/ -name "*" -type f -exec md5sum {} \; >> DEBIAN/md5sum
 
 #Größe feststellen:
-SIZE=`du -scb . | grep insgesamt | cut -f1`
+SIZE=`du -scb . | tail -n 1 | cut -f1`
 
 #Controlfile updaten:
 sed --in-place --expression "s/Installed-Size: 0/Installed-Size: $SIZE/g" DEBIAN/control